Loading Images with Transparency

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

Loading Images with Transparency

Post 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 ?
Post Reply