Page 1 of 1

Loading Images with Transparency

Posted: Wed Jul 26, 2006 3:33 pm
by Guest
I'm trying to use GFL SDK to load images with transparency. I want to load them into 32-bit bitmap format with the relevant transparency information copied over to the bitmap. Since GFL does not support this natively, I'm guessing that I'll have to manually parse the GFL bitmap and build a HBITMAP. I am using gflLoadBitmap() to load the bitmap, but am not sure how to build the 32-bit bitmap.

It needs to handle both 8-bit or less images with transparency, and also any other type of image with transparency.

Does anyone have any C/C++ code for doing this ?