Transfers all opacity data of an image ( transparent color, opacity and max. opacity ) into the image's color data using the specified color as "virtual background".
All opacity data is resetted after the transfer.
Number: Handle of the image
Number: The color to use as "virtual background"
Boolean: TRUE if successful or FALSE if an error occurs
Call MImgStripOpacity( hImage, COLOR_Yellow )
If the image has a palette ( Bpp < 24 ) and the color isn't in the palette, the image is converted to 24 Bpp.
You should call this function before drawing an image into the device context of a printer or metafile.
Furthermore, if you have a constant background color, for draw performance reasons it's recommendable to strip the opacity.
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation