[
https://issues.apache.org/jira/browse/PDFBOX-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987597#comment-14987597
]
Tilman Hausherr commented on PDFBOX-3083:
-----------------------------------------
Your code is fine, although I recommend to use the ImageIOUtils methods to save
images.
I'll commit the change (2.0 only) after more tests. Using the change without
altering the source code would be difficult and overkill. The regression tests
passed this morning, but this is because I didn't have any other file with
similar characteristics. (Field or annotation with matrix in the appearance
xform) While away I let run a tool to find more test files and I'll look at the
results now and test these.
> Form fields are missing when rendering
> --------------------------------------
>
> Key: PDFBOX-3083
> URL: https://issues.apache.org/jira/browse/PDFBOX-3083
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.6.0, 1.8.10, 2.0.0
> Environment: JDK 1.7, Tomcat 7, Maven 3
> Eclipse IDE (Mars)
> Reporter: Atthapon Junpun-eak
> Priority: Critical
> Attachments: PDFBOX-3083-acroform90°1.jpg, myout_image_1.jpg,
> mypdf.pdf, out_bufferedimage_1.png
>
>
> Hi,
> I was trying to convert my pdf file to image (jpg or png) but only the grey
> text (see my attached pdf) were successfully converted to an image file but
> the blue text cannot.
> I've try to extract this pdf with several PdfBox versions : 2.0, 1.8.10, and
> 1.6 but it doesn't work.
> However, with 1.6, the generated image contains both grey and blue text but
> in an incorrect layout/alignment.
> Can you please verify this issue?
> Please also let me know if you have any quick fix for this issue.
> -------------------------------
> Attached Sources :
> - mypdf.pdf : original pdf to be converted
> - out_bufferedimage_1.png : converted with PdfBox 2.0 and 1.8.10
> - myout_image_1.jpg : converted with PdfBox 2.0 and 1.6
> -------------------------------
> Thanks a lot.
> Best,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]