MImgSetGIFCompr
bOk = MImgSetGIFCompr( hImage, nComprMode )
Sets an image's GIF compression mode.
Parameters
hImage
Number: Handle of the image
nComprMode
Number: The compression mode. Specify one of the following constants:
MIMG_COMPR_GIF_NONE |
No compression |
MIMG_COMPR_GIF_RLE |
RLE compression |
MIMG_COMPR_GIF_LZW |
LZW compression |
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
Call MImgSetGIFCompr( hImage, MIMG_COMPR_GIF_LZW )
Remarks
The GIF compression doesn't modify the image. It has only an effect when you save the image as GIF or get the image string with type GIF.
The default value is MIMG_COMPR_GIF_RLE.
See also
MImgGetGIFCompr
MImgGetString
MImgGetStringBase64
MImgSave
MImgSetJPGQuality
MImgSetTIFCompr
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation