pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Nankin <jnan...@gmail.com>
Subject PDocument.load corrupts file
Date Wed, 15 Feb 2012 21:28:17 GMT
I have a file (attached) that when loaded with PDocument.load and then
saved to another location simply saves as a blank PDF.  The number of pages
is correct, but when opened in Acrobat, all the page names are corrupted
and the pages are blank.

Here's the code:

        PDDocument doc = PDDocument.load("/home/jnankin/Desktop/in.pdf");
        doc.save("/home/jnankin/Desktop/out.pdf");
        doc.close();

Please advise.

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message