[Patch] TIFF: add support for 1 bit images (bilevel)
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Attached patch adds support for 1 bit images that already was partly implemented.
Additionally some cosmetic fixes to the debugging output that clarify differences (in naming, output) with the TIFF spec/tools like tiffdump
Steps to reproduce:
See attached test program that converts various 1 bit tiffs to bmp.
Additional information:
Re: planarconfiguration: tiff 6.0 spec page 38 specifies either 1 or 2, default 1. The FPC code has default 0; changed it to 1 (as before, the code still reads any planarconfiguration entries and overwrites the default)
Mantis conversion info:
- Mantis ID: 23959
- OS: Windows
- OS Build: Vista
- Build: r23663
- Platform: x64 (with x86 compiler)
- Version: 2.7.1
- Fixed in version: 2.6.4
- Fixed in revision: 24181 (#fd8d76ae)
- Target version: 2.7.1