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

Tilman Hausherr commented on PDFBOX-3549:
-----------------------------------------

As I said, the problem comes with KCMS but not with LittleCMS. The line "using 
alternate color space: DeviceRGB" means that we detected at an early time that 
the icc profile is bad and are working with a "Plan B".

We used a different method prior to PDFBOX-3531 to detect icc problems. In 
PDFBOX-3531 I changed it with a call that I thought would help all the time, 
but your issue shows it ain't so. Thus I'll add the old line again, i.e. we'll 
have two tests now.

After the change the file renders, although the colors are wrong. This is the 
fault of java, so I'll set this issue to resolved.

> Can't read embedded ICC 4 profile (Invalid profile sequence)
> ------------------------------------------------------------
>
>                 Key: PDFBOX-3549
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3549
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.3, 2.1.0
>         Environment: Ubuntu 12.04 AMD64, Java 7
>            Reporter: Liu Huasong
>            Priority: Trivial
>              Labels: ICC, icc4
>
> 1) Goto this page: http://www.color.org/version4ready.xalter
> 2) Download this file: http://www.color.org/version4pdf.pdf
> 3) Run this command:
> java -jar pdfbox-app-2.0.3.jar PDFToImage version4pdf.pdf
> 4) PDFBox output error:
> Can't read embedded ICC profile (Invalid profile sequence), using alternate 
> color space: DeviceRGB
> 5) Open the output file: version4pdf1.jpg, you will found there is a 
> rendering error.



--
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