[ 
https://issues.apache.org/jira/browse/PDFBOX-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245950#comment-14245950
 ] 

Tilman Hausherr commented on PDFBOX-2553:
-----------------------------------------

This matter is more complex, sadly. The old code works fine for whitepoint 
(0.9505 1.0 1.089), also known as D65. The test file has no whitepoint, so it 
is (1 1 1), and there the code above works. What we can't handle are 
whitepoints that are not D65 and not (1 1 1), like in 
http://bugs.ghostscript.com/show_bug.cgi?id=686749 . Adobe doesn't tell how to 
handle the whitepoint, they say it is "beyond the scope of this document". So 
I'll keep the "hack", and use the "new" method for whitepoint (1 1 1) only. The 
only file with whitepoint (1 1 1) I found is PDFBOX-2307-159827.pdf, there on 
pages 4, 10 and 16. All my other test files have the D65 whitepoint. (I haven't 
looked at the digitalcorpora files).

> CalRGB colors different
> -----------------------
>
>                 Key: PDFBOX-2553
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2553
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>              Labels: CalRGB
>         Attachments: PDFBOX-2553.pdf-1.png, anna-iptimgx330.pdf-1.png, 
> pdfbox-2553.pdf-1-NEWIMPROVED.png
>
>
> http://acroeng.adobe.com/Test_Files/images/jpeg2000//Anna-IptImgx330.pdf
> java -cp 
> pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar:/path/jai_imageio.jar 
> org.apache.pdfbox.tools.PDFToImage Anna-IptImgx330.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to