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

Images wrong color

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Gentoo, Ubuntu

      Description

      We found that some images in our pdf flow didn't have the correct colors after extraction.

      After some investigation it seemed that we had the same problem with both poppler and pdfbox. We found a solution for poppler where we recompiled it with version 2.8 of Little CMS.

      The images in this issue was created with these commands:

      ```
      java -jar pdfbox-app-2.1.0-SNAPSHOT.jar PDFToImage -imageType png test.pdf
      ```

      ```
      pdftoppm test.pdf -png poppler
      ```

      Best regards
      Daniel

        Attachments

        1. pdfbox.png
          1.09 MB
          Daniel Persson
        2. poppler.png
          2.67 MB
          Daniel Persson
        3. test.pdf
          1.58 MB
          Daniel Persson

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kalaspuffar Daniel Persson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: