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

Kamna commented on PDFBOX-2431:
-------------------------------

I get this error while converting PDF to image and the images on the pdf page 
don't get rendered. I installed JAI IO Tools.. Edited the POM to have above 
dependencies, resolved them and packaged to a new jar.
I updated my classpath as well:
Path=C:\ProgramData\Oracle\Java\javapath;C:\Ruby193;C:\Ruby193\bin;C:\cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\instantclient_11_2;C:\Program
 
Files\Java\jdk1.7.0_11\bin;C:\apache-ant-1.5.2\bin;C:\wamp2\bin\php\php5.5.12\php.exe;C:\Program
 Files\Common 
Files\Adobe\AGL;C:\java\apache-ant-1.9.1;C:\wamp2\bin\php\php5.5.12;C:\ProgramData\ComposerSetup\bin;C:\Users\qinyahui\AppData\Local\Smartbar\Application\;C:\Program
 Files\TortoiseGit\bin;C:\Program Files\nodejs\;C:\Program 
Files\PuTTY\;C:\maven\apache-maven-3.5.0\bin;C:\Program 
Files\TortoiseSVN\bin;C:\Program Files\Sun Microsystems\JAI Image IO Tools 
1.0_01\;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.JAR

Am I still missing something?

> Rendering errors
> ----------------
>
>                 Key: PDFBOX-2431
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2431
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.7
>         Environment: Linux, Java8, Eclipse4.4
>            Reporter: Jens Kapitza
>         Attachments: error.png, page.png
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Hi, i'm trying to extract some pages and the renderer got some errors.
> The result has lots of lost information.
> WARNUNG: Changing font on <~> from <Hidden HorzOCl> to the default font
> Okt 15, 2014 6:50:48 PM org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap 
> getRGBImage
> SCHWERWIEGEND: Something went wrong ... the pixelmap doesn't contain any data.
> Okt 15, 2014 6:50:48 PM org.apache.pdfbox.util.operator.pagedrawer.Invoke 
> process
> WARNUNG: getRGBImage returned NULL
> Okt 15, 2014 6:50:48 PM org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap 
> getRGBImage
> the first error is a missing font (well this should not result in information 
> lost, i think there will be a font replacement)
> the next error is the importent one i think
> the pdf file is located here: 
> http://kt.uni-due.de/sites/default/files/attachments/lecture_amc.pdf
> i've used the secend page (page:1 in pdfbox)
> the result should look like page2.png but i get error.png
> i'm using just some demo lines
> PDDocument.load(path.toFile());
> document.getDocumentCatalog().getAllPages().get(1);
> page.convertToImage(BufferedImage.TYPE_INT_ARGB, 300);
> ImageIO.write(page.getImage(), "png", 
> Files.newOutputStream(Paths.get("imagetest.png")));
> other pdf files work. i know there is a version 2.X but there is no release?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to