ImgSaveAsPng

Top  Previous  Next

Prototype

 

boolSaved:=ImgSaveAsPng(intImageHandle, strFileName)

 

Description

 

Saves an image in Png format.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

strFileName: A string containing a valid path and filename.

 

Returned value

 

boolSaved: boolean value that specifies if saving operation was correctly executed.

 

Notes

 

None.

 

Example

 

// Build the file name to use

NewFileName:='c:\images\PNGs\'+ExtractFileName(_CurrentInputFile);

// Save current image in png format

ImgSaveAsPng(_CurrentImage,NewFileName);