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

Wrong colors with test file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • Windows, JDK 1.6.0/27

    Description

      The colors of the attached PDF are wrong when rendered with pdfbox 1.6.

      As a sitenote, on a Windows 2000 system I do not have access to regularly, the text was completely messed up, too. I could not reproduce this on Windows Vista, though.

      For completeness's sake, this is the code used to render the image:
      PDDocument doc=PDDocument.load(file);
      try

      { @SuppressWarnings("unchecked") List<PDPage> pages=doc.getDocumentCatalog().getAllPages(); return pages.get(0).convertToImage(); }

      finally

      { doc.close(); }

      Attachments

        1. Flyer_A4_Zubehoer_10_Prozent_300dpi.jpg
          11 kB
          Axel Dörfler
        2. Flyer_A4_Zubehoer_10_Prozent_300dpi.pdf
          3.27 MB
          Axel Dörfler

        Activity

          People

            lehmi Andreas Lehmkühler
            axeld Axel Dörfler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: