Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Optimizing existing PDF results in corrupted document

$
0
0
When the document "Optimize - Before.PDF", attached to this message, is optimized, the result is a corrupted or broken PDF. I've also attached the result file - "Optimize - After.PDF". When it is opened in Adobe Acrobat after optimization, the first two pages are blank, and the error message "The font 'TimesNewRomanPS-BoldItalicMT' contains a bad /BBox." is presented.

The code we use to optimize is the following:

Dim Document = New Aspose.Pdf.Document(InputFilename)
Document.Optimize()
Document.Save(OutputFileName)

The original document was created using Adlib Software's PDF converter, and it appears to be using version 1.5 of the PDF standard. We used version 8.6.0.0 of Aspose.Pdf.dll for the testing.

Is there anything that can be done about this? Or anything that we should be doing differently?

Thanks,
Michael Whalen

Viewing all articles
Browse latest Browse all 3131

Trending Articles