pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Nankin <jnan...@gmail.com>
Subject Re: PDocument.load corrupts file
Date Wed, 15 Feb 2012 21:30:50 GMT
I realize that attachments are probably not sent out.  The file can now be
found at http://joshnankin.com/in.pdf

On Wed, Feb 15, 2012 at 3:28 PM, Joshua Nankin <jnankin@gmail.com> wrote:

> 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/alternative (inline, None, 0 bytes)
View raw message