[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread Reginald Tan (Jira)


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

Reginald Tan commented on PDFBOX-4646:
--

Wow. Thank you very much!! This is helpful

> PDFToImage not working with certain formfields
> --
>
> Key: PDFBOX-4646
> URL: https://issues.apache.org/jira/browse/PDFBOX-4646
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm, Rendering, Utilities
>Affects Versions: 2.0.16
> Environment: macOS High Sierra v10.13.6
>Reporter: Reginald Tan
>Assignee: Tilman Hausherr
>Priority: Major
> Fix For: 2.0.17, 3.0.0 PDFBox
>
> 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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on PDFBOX-4646:
-

Commit 1866758 from Tilman Hausherr in branch 'pdfbox/branches/issue4569'
[ https://svn.apache.org/r1866758 ]

PDFBOX-4646: refresh appearances if /NeedAppearances is set

> PDFToImage not working with certain formfields
> --
>
> Key: PDFBOX-4646
> URL: https://issues.apache.org/jira/browse/PDFBOX-4646
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm, Rendering, Utilities
>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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on PDFBOX-4646:
-

Commit 1866755 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1866755 ]

PDFBOX-4646: refresh appearances if /NeedAppearances is set

> 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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on PDFBOX-4646:
-

Commit 1866756 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1866756 ]

PDFBOX-4646: refresh appearances if /NeedAppearances is set

> 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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on PDFBOX-4646:
-

Commit 1866757 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1866757 ]

PDFBOX-4646: refresh appearances if /NeedAppearances is set

> 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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-10 Thread Reginald Tan (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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



[jira] [Commented] (PDFBOX-4646) PDFToImage not working with certain formfields

2019-09-09 Thread Tilman Hausherr (Jira)


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

Tilman Hausherr commented on PDFBOX-4646:
-

The widget annotations have no appearance streams, that is why PDFBox doesn't 
show them. You could call 
{{doc.getDocumentCatalog().getAcroForm().refreshAppearances()}} to build them.

What really surprises me is that PDF.js shows them (although not in the correct 
color), because they don't generate missing appearance streams, or so I thought.

> 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