MImgSave

Functions ››
Parent Previous Next

bOk = MImgSave( hImage, sFile, nType )

Saves an image in a file.

Parameters
hImage
Number: Handle of the image

sFile
String: Filename

nType
Number: Image type you want to save the file as. Specify MIMG_TYPE_UNKNOWN to use the current image type or one of the supported image types.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example

Call MImgSave( hImage, "C:\\Pictures\\MyImage.bmp", MIMG_TYPE_BMP )

See also
MImgSetGIFCompr
MImgSetJPGQuality
MImgSetTIFCompr

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease