[
https://issues.apache.org/jira/browse/PDFBOX-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772423#comment-17772423
]
Tilman Hausherr commented on PDFBOX-5694:
-----------------------------------------
There is a log output:
Info [TilingPaint] Pattern surface is too large, will be clipped
Info [TilingPaint] width: 6857.7163, height: -3946.014
Info [TilingPaint] XStep: 4913.0, YStep: 2827.0
Info [TilingPaint] bbox: [-4138.3696,-1024.1337,774.6304,1802.8663]
Info [TilingPaint] pattern matrix:
[1.3958308,0.0,0.0,-1.3958309,-4.8828125E-4,1080.0]
Info [TilingPaint] concatenated matrix:
[1.3958308,0.0,0.0,-1.3958309,-4.8828125E-4,1080.0]
Try setting the pdfbox.rendering.tilingpaint.maxedge property to 7000 and it
works. However you'll need more memory. There is a huge image in that file used
for this pattern of which only a small part is actually used.
> PDF to Image conversion results in different converted image
> ------------------------------------------------------------
>
> Key: PDFBOX-5694
> URL: https://issues.apache.org/jira/browse/PDFBOX-5694
> Project: PDFBox
> Issue Type: Bug
> Reporter: Kabir Soneja
> Priority: Major
> Attachments: wrong_image_conversion.pdf, wrong_image_conversion8.jpg
>
>
> Hi Team,
> We are using PDF to Image conversion to generate images of PDF pages and
> recently we saw an issue wherein the converted image has a different
> background image as compared to what actually exists in the PDF. This issue
> is reproducible locally and we are unable to figure out the root cause. I
> have attached the original PDF as well as the generated image to this ticket.
> Can you please help with this?
> Locally we are able to reproduce using:
> {code:java}
> java -jar pdfbox-app-2.0.29.jar PDFToImage -imageType jpg -page 8
> wrong_image_conversion.pdf {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]