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

prabaharan periasamy edited comment on PDFBOX-3961 at 10/13/17 4:40 AM:
------------------------------------------------------------------------

[~tilman] this bug 
is[PDFBOX-3875|https://issues.apache.org/jira/browse/PDFBOX-3875] similar. let 
me know if you need any information, i would like to help them fixed.  
initially i thought, it might be an issue with the size of stream ,since the 
file sizes are bigger, and tried overriding with streams writing to the temp 
file, with increased memory space. it doesn't works. can i have some direction 
in fixing up from our end, i am happy to contribute...and fix this up.. 




was (Author: prabaharan.p):
[~tilman] this bug is [https://issues.apache.org/jira/browse/PDFBOX-3875] 
similar. let me know if you need any information, i would like to help them 
fixed.  initially i thought, it might be an issue with the size of stream 
,since the file sizes are bigger, and tried overriding with streams writing to 
the temp file, with increased memory space. it doesn't works. can i have some 
direction in fixing up from our end, i am happy to contribute...and fix this 
up.. 


> 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