ImageToFile Method

UniqueFilename Method

Introduction

 

ImageToPNG Method


 

Saves the control image to a PNG file.

 

Syntax

FlpGrf.ImageToPNG( FileName As String, Width As Integer, Height As Integer [, Interlaced As Boolean] )

 

The ImageToPNG method has these parts:

Part

Description

FlpGrf

An object expression that evaluates the Flipper Graph ASP object.

FileName

String representing the path and name of the destination file.

Width

Width of image in pixels.

Height

Height of image in pixels

Interlaced

Set weather the image is to be interlaced.

 

Remarks

This method saves the contents of the Flipper Graph Control image to a PNG file, which can then be included in other programs and on web pages. It also allows you to set the size of the image in pixels. This is amuch better format than GIF, it has a significantly better compression and support of upto 48bit color depth. It can also be loaded progressively on a web page.

 

Example

Image Example

FlpGrf.ImageToPNG "C:\temp.png", 300, 300, False


 

See Also

All Picture Routines, ImageToClipboard Method, ImageToFile Method, ImageToGif Method, ImageToTransGif Method, ImageToPNG Method



ImageToFile Method UniqueFilename Method

 

 

Last modified on: Friday, October 19, 2001