[
https://issues.apache.org/jira/browse/PDFBOX-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175299#comment-14175299
]
Tilman Hausherr commented on PDFBOX-2435:
-----------------------------------------
It was correct in 1.8.4 and no longer correct in 1.8.5. I suspect this was
introduced with the fix for PDFBOX-1998, where the problem image had a
different filter. The cause of the problem is that the decode array is
considered twice: once in PDCcitt.getRGBImage(), once in
PDXObjectImage.imageMask(). I'll change that PDCcitt.getRGBImage() ignores the
decode array if it is a mask.
I'll commit after running a larger test set.
> ConvertToImage Appears To Invert Colors
> ---------------------------------------
>
> Key: PDFBOX-2435
> URL: https://issues.apache.org/jira/browse/PDFBOX-2435
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.8.7, 1.8.8
> Reporter: lufeng
> Assignee: Tilman Hausherr
> Labels: CCITTFaxDecode, regression
> Fix For: 1.8.8
>
> Attachments: 123.PDF, 123.png, screenshot-1.png
>
>
> the colors are reversed when I call convertToImage API in PDPage class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)