[ 
https://issues.apache.org/jira/browse/PDFBOX-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-3961:
------------------------------------
    Summary: PDFMergerUtility link annotations are not working after merging 
large two pdfs   (was: PDFmergeutility link annotations are not working after 
merging large two pdfs )

> PDFMergerUtility link annotations are not working after merging large two 
> pdfs 
> -------------------------------------------------------------------------------
>
>                 Key: PDFBOX-3961
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3961
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.6, 2.0.7
>            Reporter: prabaharan periasamy
>
> we are trying to merge two pdfs, using pdfMerger.class. everything works fine 
> when we merge pdfs which are of less size < 500kbs.
> while merging bigger size pdfs, >1000kbs , pdfs are getting merged, but link 
> annotations are not copied, and both pdfs link references stopped working 
> after merging those large pdfs.
> merge code
> {code}
>                       PDFMergerUtility pdfMerger = new PDFMergerUtility();
>                       pageUnitStream = new FileInputStream(new File(
>                                       
> "D:/Boieng-Docs/ImageComparison/HYPERLINK_DATA/HYPERLINK_DATA/D631A001.881_FrontMatter.pdf"));
>                       pdfMerger.addSource(pageUnitStream);
>                       InputStream mainContent = new FileInputStream(new File(
>                                       
> "D:/Boieng-Docs/ImageComparison/HYPERLINK_DATA/HYPERLINK_DATA/D631A001.881_Content_not_working.pdf"));
>                       pdfMerger.addSource(mainContent);
>                       // Setting the destination file
>                       pdfMerger.setDestinationFileName(
>                                       
> "D:/Boieng-Docs/ImageComparison/HYPERLINK_DATA/HYPERLINK_DATA/mergedfile-notworking.pdf");
>                       // Merging the two documents
>                       pdfMerger.mergeDocuments(null);
> {code}
> customer data cant be shared, will upload dummy pdfs, with the required data



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to