You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/10/17 09:12:33 UTC
[jira] [Comment Edited] (PDFBOX-2435) ConvertToImage Appears To
Invert Colors
[ https://issues.apache.org/jira/browse/PDFBOX-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174782#comment-14174782 ]
Tilman Hausherr edited comment on PDFBOX-2435 at 10/17/14 7:12 AM:
-------------------------------------------------------------------
A quick look shows that this is a CCITT encoded image with BlackIs1 = true and a decode array of [1 0]. It renders fine in 2.0 but not in 1.8.*. I will hopefully find the cause tonight or this weekend.
was (Author: tilman):
A quick look shows that this is a CCITT encoded image with BlackIs1 = true and a decode array of [1 0], i.e. twice reversed. It renders fine in 2.0 but not in 1.8.*. I will hopefully find the cause tonight or this weekend, i.e. which of the reversions is ignored and why.
> 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
> Labels: CCITTFaxDecode
> Fix For: 1.8.8
>
> Attachments: 123.PDF, 123.png
>
>
> the colors are reversed when I call convertToImage API in PDPage class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)