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

Write2File Fails for PDCalRGB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.1
    • PDModel
    • None

    Description

      decoding of PDPixelMap images with a CalRGB colormap is not implemented.

      ERROR org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap - java.io.IOException: Not implemented
      java.io.IOException: Not implemented
      at org.apache.pdfbox.pdmodel.graphics.color.PDCalRGB.createColorModel(PDCalRGB.java:113)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:201)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.write2OutputStream(PDPixelMap.java:310)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:139)

      Attachments

        1. foo.pdf
          116 kB
          Kenneth Berland
        2. pdfbox-836.PDCalRGB.patch
          1.0 kB
          Kenneth Berland

        Activity

          People

            Unassigned Unassigned
            kenberland Kenneth Berland
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: