[
https://issues.apache.org/jira/browse/PDFBOX-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851861#comment-13851861
]
Frederik Bertling commented on PDFBOX-1810:
-------------------------------------------
Simple Scan does not offer many options but I think it uses the same converter
as xsane. Thus I tried xsane in different color modes.
24bit -> fine
truegray -> fine
gray, b+w both
frederik@fred-deb-t440p:~$ java -jar pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage
b+w.pdf
Dez 18, 2013 4:57:04 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
WARNING: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.pdfbox.pdmodel.graphics.xobject.PDInlinedImage.createImage(PDInlinedImage.java:166)
at
org.apache.pdfbox.util.operator.pagedrawer.BeginInlineImage.process(BeginInlineImage.java:60)
at
org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:529)
at
org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:258)
at
org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:225)
at
org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:205)
at org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:152)
at org.apache.pdfbox.util.RenderUtil.renderPage(RenderUtil.java:213)
at org.apache.pdfbox.util.RenderUtil.convertToImage(RenderUtil.java:177)
at
org.apache.pdfbox.util.PDFImageWriter.writeImage(PDFImageWriter.java:114)
at org.apache.pdfbox.PDFToImage.main(PDFToImage.java:244)
at org.apache.pdfbox.PDFBox.main(PDFBox.java:96)
Dez 18, 2013 4:57:04 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
INFO: unsupported/disabled operation: EI
Dez 18, 2013 4:57:04 PM org.apache.pdfbox.util.PDFImageWriter writeImage
> PDFToImage: Image of pdf is resized and drawn multiple times at top of output
> image
> -----------------------------------------------------------------------------------
>
> Key: PDFBOX-1810
> URL: https://issues.apache.org/jira/browse/PDFBOX-1810
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.2, 1.8.3, 2.0.0
> Environment: Debian testing, OpenJDK7
> Reporter: Frederik Bertling
> Attachments: K3.pdf, K31.jpg, K32.jpg, PDFBOX-1810.pdf-1.png
>
>
> Hi,
> all the pdfs created with simple scan (https://launchpad.net/simple-scan) are
> not correctly converted into images.
> A single page is resized and drawn multiple times at the top of the output
> image.
> Using the pdfbox app on windows with the newest orcale java 7 causes a java
> heap error.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)