To clarify better my question: I've already checked this thread: https://sourceforge.net/p/freeimage/discussion/36111/thread/adc0fcc2/ At this point, the problem is that ColorType is FIC_RGB, so I can't recognize if MinIsWhite or MinIsBlack. This is probably due to the fact that the image is firstly loaded from a 32bpp bitmap and then the color space is converted to 1bpp. I was expecting a change on the ColorType (from RGB to MinIsWhite or MinIsBlack), also. Any hint? Thanks! S.
Hello everybody! I'm having troubles saving a black&white compressed (ccitt) tiff with color depth 1bpp. The original image is a 32bpp color bitmap (bmp file) that comes from a twain scan routine. The image is saved correclty (windows file property tells the correct 1bpp color depth and compression) but viewed by windows default programs with colors inverted. I'm aware of the minisblack/miniswhite problem. Checking for a solution, I ended to use FreeImageBitmap.Invert() in case of minisblack color...