CMdaImageFileToBitmapUtility::ConvertL() and masked bitmap images
CMdaImageFileToBitmapUtility::ConvertL() and masked bitmap images.
When using CMdaImageFileToBitmapUtility to convert a .gif image with a mask to bitmap (CFbsBitmap), I get an empty bitmap for both the image and the mask. What is wrong?
Mask bitmaps should always be 2-color (monochrome) bitmaps. While some APIs accept mask bitmaps with a higher color depth, they may not work correctly. Also, monochrome mask bitmaps reserve less memory. The same applies, for example, to CWindowGc::BitBltMasked().