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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1, 1.3.1, 1.4.0
    • 1.8.0
    • PDModel
    • None
    • 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. 1___Im0-1.jpg
          1 kB
          JOSE FREITAS
        2. comparison.png
          1.12 MB
          JOSE FREITAS
        3. ExtractImages.java
          2 kB
          JOSE FREITAS
        4. test with pdindexed.pdf
          202 kB
          JOSE FREITAS

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: