You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "William Fausser (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 14:41:38 UTC

[jira] [Created] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

 Invalid Color space, Invalid Color space, DestOutputProfile is missing
-----------------------------------------------------------------------

                 Key: PDFBOX-1200
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
             Project: PDFBox
          Issue Type: Bug
          Components: Preflight
    Affects Versions: 1.7.0
            Reporter: William Fausser


User submitted attached pdf fails under preflight with the following error:

/home/fausser/djntest.PDF is not valid, error(s):
2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing

Vendor claims djntest.PDF verifies using commercial validators.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "Eric Leleu (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu resolved PDFBOX-1200.
--------------------------------

    Resolution: Fixed

When the ICCBased ColorSpace is used, the DestOuputProfile is not required anymore.
In addition, the Info entry of the OutputIntent isn't check anymore because it is quite hard to be sure that there are no missing name for standard Color Profile... This check will be reinstated (as warning) when the "lazy" validation will be developed.
                
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: djntest.PDF, picture1.png
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "William Fausser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Fausser updated PDFBOX-1200:
------------------------------------

    Attachment: djntest.PDF
    
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>         Attachments: djntest.PDF
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "William Fausser (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Fausser updated PDFBOX-1200:
------------------------------------

    Attachment: picture1.png
    
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>         Attachments: djntest.PDF, picture1.png
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "William Fausser (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180446#comment-13180446 ] 

William Fausser commented on PDFBOX-1200:
-----------------------------------------

Additional info:
the ghostscript scructure that creates the "adhoc" colorspace that is then turne into a stream object is:
    /*
     * Even though Ghostscript includes icclib, icclib is unusable here,
     * because it requires random access to the output stream.
     * Instead, we construct the ICC profile by hand.
     */
    /* Header */
    byte header[128];
    static const byte header_data[] = {
        0, 0, 0, 0,                     /* profile size **VARIABLE** */
        0, 0, 0, 0,                     /* CMM type signature */
        0x02, 0x20, 0, 0,               /* profile version number */
        's', 'c', 'n', 'r',             /* profile class signature */
        0, 0, 0, 0,                     /* data color space **VARIABLE** */
        'X', 'Y', 'Z', ' ',             /* connection color space */
        2002 / 256, 2002 % 256, 0, 1, 0, 1, /* date (1/1/2002) */
        0, 0, 0, 0, 0, 0,               /* time */
        'a', 'c', 's', 'p',             /* profile file signature */
        0, 0, 0, 0,                     /* primary platform signature */
        0, 0, 0, 3,                     /* profile flags (embedded use only) */
        0, 0, 0, 0, 0, 0, 0, 0,         /* device manufacturer */
        0, 0, 0, 0,                     /* device model */
        0, 0, 0, 0, 0, 0, 0, 2          /* device attributes */
        /* Remaining fields are zero or variable. */
        /* [4] */                       /* rendering intent */
        /* 3 * [4] */                   /* illuminant */
    };
    /* Description */
#define DESC_LENGTH 5           /* "adhoc" */
    byte desc[12 + DESC_LENGTH + 1 + 11 + 67];
    static const byte desc_data[] = {
        'd', 'e', 's', 'c',             /* type signature */
        0, 0, 0, 0,                     /* reserved, 0 */
        0, 0, 0, DESC_LENGTH + 1,       /* ASCII description length */
        'a', 'd', 'h', 'o', 'c', 0,     /* ASCII description */
        /* Remaining fields are zero. */
    };
----------------
the first portion of  object stream produced in djntest.PDF is
8 0 obj
<</N 1/Length 1912>>stream
with references to scrnGRAYXYZ,acsp,A2BO,desc,adhoc...etc

                
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: djntest.PDF, picture1.png
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "Eric Leleu (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu reassigned PDFBOX-1200:
----------------------------------

    Assignee: Eric Leleu
    
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: djntest.PDF, picture1.png
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "Eric Leleu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180476#comment-13180476 ] 

Eric Leleu commented on PDFBOX-1200:
------------------------------------

Hi,


Thanks you for those information.
This issue is linked with the PDFBox-1110.

I will try to work on the two issues next week. 

BR,
Eric





                
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>            Assignee: Eric Leleu
>         Attachments: djntest.PDF, picture1.png
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1200) Invalid Color space, Invalid Color space, DestOutputProfile is missing

Posted by "William Fausser (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179479#comment-13179479 ] 

William Fausser commented on PDFBOX-1200:
-----------------------------------------

Vendor gives this comment:
I believe your systems PDF/A verification code is erroneously looking
for an "OutputIntent" within the PDF/A in cases when the file has
specified that it is using a "device independent color space".  Files
that have specified that they are using the device independent color
space are not required to include an outputIntent and should not fail
PDF/A verification. 


                
>  Invalid Color space, Invalid Color space, DestOutputProfile is missing
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1200
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1200
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: William Fausser
>         Attachments: djntest.PDF
>
>
> User submitted attached pdf fails under preflight with the following error:
> /home/fausser/djntest.PDF is not valid, error(s):
> 2.4.3: Invalid Color space, Invalid Color space, DestOutputProfile is missing
> Vendor claims djntest.PDF verifies using commercial validators.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira