You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Resolved JIRA)" <ji...@apache.org> on 2012/02/27 16:32:48 UTC

[jira] [Resolved] (PDFBOX-1237) PDPixelMap uses wrong number of components for the target colorspace

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

Andreas Lehmkühler resolved PDFBOX-1237.
----------------------------------------

    Resolution: Fixed
      Assignee: Andreas Lehmkühler

I fixed this in revision 1294185
                
> PDPixelMap uses wrong number of components for the target colorspace
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-1237
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1237
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>    Affects Versions: 1.6.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.7.0
>
>
> PDPixelMap#getRGBImage uses a rgb-based colorspace as target, but it the calculation for the number of components is wrong. There are only 2 valid values 3 (RGB) or 4 (RGB + alpha).
> The pdf attached to PDFBOX-1022 triggers this issue.

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