pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilad Denneboom (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-1106) PDFMergerUtility corrupts file attachments
Date Wed, 24 Aug 2011 11:35:29 GMT
PDFMergerUtility corrupts file attachments
------------------------------------------

                 Key: PDFBOX-1106
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1106
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 1.6.0
         Environment: Windows 7, Acrobat Pro 9.4.4, Eclipse Helios SR2 
            Reporter: Gilad Denneboom
            Priority: Minor


When combining files that contain (PDF) file attachments, the attachments carry over, but
are corrupted in the merged file.

Code used:
		PDFMergerUtility merger = new PDFMergerUtility();
		merger.addSource("c:/gilad/testing/in/1.pdf");
		merger.addSource("c:/gilad/testing/in/2.pdf");
		merger.setDestinationFileName("c:/gilad/testing/in/merged.pdf");
		try {
			merger.mergeDocuments();
		} catch (Exception e) {
			e.printStackTrace();
		}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message