Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1237

PDPixelMap uses wrong number of components for the target colorspace

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Swing GUI
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              lehmi Andreas Lehmkühler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment