You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Eric Leleu (JIRA)" <ji...@apache.org> on 2013/10/30 21:37:26 UTC

[jira] [Resolved] (PDFBOX-1763) Exception caused by "Invalid ICC Profile Data"

     [ https://issues.apache.org/jira/browse/PDFBOX-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu resolved PDFBOX-1763.
--------------------------------

    Resolution: Fixed
      Assignee: Eric Leleu

Indeed, we missed to catch the IllegalArgumentException thrown by the ICCProfile object. Now, the IllegalArgumentException is catched and a ValidationError is pushed into the PreflightContext.

BR,
Eric

>  Exception caused by "Invalid ICC Profile Data"
> -----------------------------------------------
>
>                 Key: PDFBOX-1763
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1763
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>         Environment: Win 7
>            Reporter: Johan van der Knijff
>            Assignee: Eric Leleu
>              Labels: icc
>             Fix For: 2.0.0
>
>
> Sometimes Preflight raises the exception "Invalid ICC Profile Data". Some example files that produce this problem are:
> http://acroeng.adobe.com/Test_Files/fonts//printtestfont_nonopt.pdf
> http://acroeng.adobe.com/Test_Files/fonts//printtestfont_opt.pdf
> http://www.math.uakron.edu/~dpstory/tutorial/pdfmarks/links.pdf
> I also checked these files with Acrobat's Preflight function, which reports ICC profiles that are either not valid or that follow the ICC profile 4.0 version or newer (which are only allowed in PDF 1.5 onward). It would be nice if Preflight would report these errors without raising an exception.



--
This message was sent by Atlassian JIRA
(v6.1#6144)