You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/12/13 23:55:13 UTC

[jira] [Commented] (PDFBOX-2553) CalRGB colors different

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

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

Found in CalRGB.java:
{code}
    public float[] toRGB(float[] value)
    {
        // this is a hack, we simply skip CIE calibration of the RGB value
        return new float[] { value[0], value[1], value[2] };
    }
{code}

m(



> 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: anna-iptimgx330.pdf-1.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)