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

text in pdf with convertToImage not rendered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.0, 1.8.4
    • 2.0.0
    • Rendering
    • None
    • Java Runtime 7 Update 51

    Description

      I'm converting a pdf into an image. Since I have updated the Java Runtime Environment from JRE 7 Update 17 to JRE 7 Update 51 text will not be rendered.

      PDDocument doc = PDDocument.load(is);
      PDPage page = (PDPage) (pages.get(0));
      BufferedImage image = page.convertToImage(BufferedImage.TYPE_INT_RGB, 100);

      Example PDF:
      http://www.swm.de/dms/swm/dokumente/m-wasser/gesunde-ernaehrung.pdf

      Example Output:
      https://db.tt/1pogAuU8

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Zuzzlwuzzl Zuzzlwuzzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: