Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.30, 3.0.1 PDFBox
Description
Since the workaround for PDFBOX-5488, the attached PDF has wrong colors.
The base issue from PDFBOX-5488 might be a difference between the reported color space from the metadata-tree for the user and the raw pixel data when readRaster is used, at least if I understand this correctly:
https://github.com/haraldk/TwelveMonkeys/issues/571
For the default JPEG Image Reader this is not a problem, as reader.getImageMetadata throws an Exception "javax.imageio.IIOException: JFIF APP0 must be first marker after SOI" and "getAdobeTransformByBruteForce" is used instead of "getAdobeTransform".