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

Problem on writing some kind of images to a File in filesystem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1, 1.3.1, 1.4.0
    • Fix Version/s: 1.8.0
    • Component/s: PDModel
    • Labels:
      None
    • Environment:
      JDK5 / 6

      Description

      I have an image object which is an instance of PDXObjectImage.

      If it has PDIndexed as colorspace.

      "image.getColorSpace() instanceof PDIndexed"

      the image is wrongly rendered.

      Is there any known issue with this colorSpace?

      I think the problem could be at:
      image.write2file(...) or
      image.write2OutputStream(...);

        Attachments

        1. ExtractImages.java
          2 kB
          JOSE FREITAS
        2. test with pdindexed.pdf
          202 kB
          JOSE FREITAS
        3. 1___Im0-1.jpg
          1 kB
          JOSE FREITAS
        4. comparison.png
          1.12 MB
          JOSE FREITAS

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                jose.freitas JOSE FREITAS
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: