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


Reply via email to