Quote from: Galfar on 5 July 2011, 18:14:24
There are TIFF tags PHOTOMETRIC_MINISBLACK and PHOTOMETRIC_MINISWHITE
which tell the decoder if pixel with value 0 is black or white.
Look's like Imaging does not set the tag for binary images and the decoder programs
assume some default. The default for Irfan and MS Imaging is probably different.
I'll update the TIFF writer to set the tag explicitly.
EDIT: So it looks like there's some bug in MS Office Document Imaging that ignores the
PHOTOMETRIC_MINISBLACK tag. Binary images are always assumed to be PHOTOMETRIC_MINISWHITE.
Other MS programs (Paint, Explorer, ...) handle binary TIFFs saved by Imaging correctly.
Quote from: feherbt on 7 September 2010, 17:03:21
I have tested and working correctly! :)
Many thanks again!Quote from: Galfar on 6 September 2010, 23:11:22
Ok, TIFF 1bpp support is done and uploaded to SVN.
Quote from: Galfar on 6 September 2010, 23:11:22
Ok, TIFF 1bpp support is done and uploaded to SVN.
Page created in 0.034 seconds with 19 queries.