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

Benjamin commented on PDFBOX-5676:
----------------------------------

No error is thrown but the pdf will not render the page.  Sample code:

            File file = new File(pdfPath);   
            PDDocument doc = Loader.loadPDF(file);           
            PDPage thisPage = doc.getPage(0);
            PDPageContentStream contentStream = new PDPageContentStream(
                document, thisPage, PDPageContentStream.AppendMode.APPEND, 
true, true
            );          
            document.addPage(thisPage); 

> Upgrading from 3.0.0-RC1 to 3.0.0 impacted merging pdf documents
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-5676
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5676
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Benjamin
>            Priority: Major
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to