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

Timo Boehme commented on PDFBOX-2700:
-------------------------------------

I've checked the test page now with Java 1.7.0_71 on Linux. While it now does 
not report color space '11', it reports color space '5' which is currently not 
handled and again the picture is not shown - which version did you use?
I looked around and found https://bugs.openjdk.java.net/browse/JDK-8057889
So it seems Java 1.6 is correct with value '11' but 1.7 is not ('5'). 
Nevertheless we could also check for '5'. But first I would like to have an 
evaluation from you - could you check if when displaying the page in PDFReader 
you reach the DCTFilter line 120 (happens multiple times on my side) and what 
values will be reported for colorSpaceCode (here: 1.6: '4' and '11', 1.7: '4' 
and '5')?
Thanks.

> support JPEG color space code 11 (JCS_YCCK)
> -------------------------------------------
>
>                 Key: PDFBOX-2700
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2700
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> In DCTFilter we have a work around for 4-component images which handles 
> certain color space codes to decide for YCCK and CMYK color space. I have a 
> document (C&EN journal issue, http://cen.acs.org/index.html) with some images 
> returning color space code 11 which should be JCS_YCCK. Adding this code for 
> YCCK type the images display fine.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to