[
https://issues.apache.org/jira/browse/PDFBOX-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851900#comment-13851900
]
Tilman Hausherr commented on PDFBOX-1810:
-----------------------------------------
Thanks, very interesting! My change also handles that one. The cause is
similar, although the effect is different, because PDInlinedImage does not
choose the min value of the two buffers for System.arraycopy() like PDPixelMap
does, thus the crash for the 1bit images.
> 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: 24bit.pdf, K3.pdf, K31.jpg, K32.jpg,
> PDFBOX-1810.pdf-1.png, Settings.jpg, b+w.pdf, gray.pdf, truegray.pdf
>
>
> 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)