GFL_LOAD_BINARY_AS_GREY

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

Moderators: XnTriq, xnview

Post Reply
tailormade
Posts: 13
Joined: Fri Jun 24, 2005 6:08 pm

GFL_LOAD_BINARY_AS_GREY

Post by tailormade » Thu Oct 22, 2009 3:19 am

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)

Post Reply