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

Reginald Tan commented on PDFBOX-4646:
--------------------------------------

Hey Tilman. Thanks for the very quick response. I can indeed verify that the 
widget annotations have missing Appearance Stream (AP) . I was wondering 
though, since Adobe seems to dynamically construct this AP entry when its 
missing, and perhaps PDF.js as well (at least for Tx Widgets), do you think it 
would be better default for PDFToImage to call the "refreshApperances" function 
as well before rendering the image? I currently don't see any downside, unless 
i'm mistaken, you know the code more than I do :) 

 

 

> PDFToImage not working with certain formfields
> ----------------------------------------------
>
>                 Key: PDFBOX-4646
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4646
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.16
>         Environment: macOS High Sierra v10.13.6
>            Reporter: Reginald Tan
>            Priority: Major
>         Attachments: cd_title_description_form.pdf, 
> cd_title_description_form1.jpg, cd_title_description_without_forms.pdf
>
>
> Sometimes, PDFToImage would not render the values of PDF form annotation. 
> I've attached the relevant files. The command I used is listed below. Note 
> that I used a custom software to generate the form annotations in the pdf, 
> but I have no problems viewing/editing the form fields in adobe reader, adobe 
> acrobat, firefox, chrome, so I think this might be a bug in pdfbox. 
> java -jar pdfbox-app.jar PDFToImage -imageType jpg -dpi 140 
> cd_title_description_form.pdf



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to