Describe the bug
We are rendering TIFF images to PDFs. We are using twelvemonkeys tiff library to do this. openpdf 2.x works just fine, as well as 3.0.0.
3.0.1 introduced a breaking change where the whole tiff would be rendered black. 3.0.2 "fixed" this, but now black and white are inverted. Meaning black text is rendered white and the white background is black.
To Reproduce
I attached a sample tiff file as well as a maven project with code reproducing this
sample.tif
errorTiffsInverted.zip
Expected behavior
The tiff image should render with black text on a white background
System
- OS: Windows
- Used font:
- OpenPDF version: 3.0.3
Your real name
Felix Knecht
Describe the bug
We are rendering TIFF images to PDFs. We are using twelvemonkeys tiff library to do this. openpdf 2.x works just fine, as well as 3.0.0.
3.0.1 introduced a breaking change where the whole tiff would be rendered black. 3.0.2 "fixed" this, but now black and white are inverted. Meaning black text is rendered white and the white background is black.
To Reproduce
I attached a sample tiff file as well as a maven project with code reproducing this
sample.tif
errorTiffsInverted.zip
Expected behavior
The tiff image should render with black text on a white background
System
Your real name
Felix Knecht