You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Zuzzlwuzzl (JIRA)" <ji...@apache.org> on 2014/03/20 15:56:42 UTC

[jira] [Created] (PDFBOX-1992) text in pdf with convertToImage not rendered

Zuzzlwuzzl created PDFBOX-1992:
----------------------------------

             Summary: text in pdf with convertToImage not rendered
                 Key: PDFBOX-1992
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1992
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 1.8.4, 1.6.0
         Environment: Java Runtime 7 Update 51
            Reporter: Zuzzlwuzzl


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)