GFL_LOAD_BINARY_AS_GREY

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

Moderators: XnTriq, helmut, xnview

tailormade
Posts: 15
Joined: Fri Jun 24, 2005 6:08 pm

GFL_LOAD_BINARY_AS_GREY

Post by tailormade »

I have a binary tiff file. When I load it using the default load parameters I get a binary file, but when I used GFL_LOAD_BINARY_AS_GREY I get a totally white image. I need to be able to save the tiff as a greyscale (the decoder I must use does not support binary files).

Is there 1) a fix for the GFL_LOAD_BINARY_AS_GREY bug, or
2) a simple way to change a binary bitmap into a greyscale bitmap (the opposite of gflChangeColorDepth since that only goes to smaller number of colors where I actually want more colors)