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/04/09 12:38:16 UTC

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

    [ https://issues.apache.org/jira/browse/PDFBOX-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964006#comment-13964006 ] 

Zuzzlwuzzl commented on PDFBOX-1992:
------------------------------------

Thanks a lot for the response!

Sadly I can't compile the current Version from Repository. I get this maven error:

[ERROR] Failed to execute goal on project pdfbox: Could not resolve dependencies for project org.apache.pdfbox:pdfbox:bu
ndle:2.0.0-SNAPSHOT: Failed to collect dependencies at net.java.dev.jai-imageio:jai-imageio-core-standalone:jar:1.2-pre-
dr-b04-2013-04-23: Failed to read artifact descriptor for net.java.dev.jai-imageio:jai-imageio-core-standalone:jar:1.2-p
re-dr-b04-2013-04-23: Could not transfer artifact net.java.dev.jai-imageio:jai-imageio-core-standalone:pom:1.2-pre-dr-b0
4-2013-04-23 from/to jbig2.googlecode (http://jbig2-imageio.googlecode.com/svn/maven-repository/): Connection to http://
jbig2-imageio.googlecode.com refused: Connection timed out: connect -> [Help 1]

It seems the (recursive) dependencies of image IO are not available.

Thanks again
 Tobi

> 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.6.0, 1.8.4
>         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)