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

SUNIL KUMAR SAHU edited comment on PDFBOX-5990 at 4/22/25 5:25 AM:
-------------------------------------------------------------------

My requirement is to generate preview or thumbnail of the first page of the 
embedded pdf file. Which is just a screenshot of the first page.

Hence I tried to retrieve the first page from the given pdf to the destination 
folder, which can be using by image magic library to generate 
thumbnail/preview.  

Portfolio pdfs with embedded pdfs working fine for us, In this case we are 
retrieving all the embedded files then storing the first embedded file in the 
destination folder for further processing. 


was (Author: JIRAUSER309461):
My requirement is to generate preview or thumbnail of the first page of the 
embedded pdf file. Which is just a screenshot of the first page.

Hence I tried to retrieve the first page from the given pdf to the destination 
folder, which can be using by image magic library to generate 
thumbnail/preview.  

> PDFBox unable to render portfolio pdfs embedded with forms with in it
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-5990
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5990
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>         Environment: Windows, JDK17
>            Reporter: SUNIL KUMAR SAHU
>            Priority: Major
>         Attachments: image-2025-04-22-10-26-31-222.png
>
>
> I want to read/retrieve the 1st page of a portfolio pdf file which is 
> embedded with forms to generate thumbnail & preview. But PDFBox is unable to 
> render the portfolio pdf file which is embedded with forms.  
>  
> I rendered the prortfolio pdf using PDFBox library and extracted the first 
> page to a another pdf. While opening the extracted file it appears as below-
> !image-2025-04-22-10-26-31-222.png!  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to