empira / PDFsharp

PDFsharp and MigraDoc Foundation for .NET 6 and .NET Framework
https://docs.pdfsharp.net/
Other
531 stars 132 forks source link

Bug: not able to import document. #186

Open KlaskSkovby opened 1 month ago

KlaskSkovby commented 1 month ago

I need to combine som documents but PdfReader.Open fails to open/import pdf document that is working fine in Adobe and Bluebeam.

PdfDocument = PdfReader.Open(path, PdfDocumentOpenMode.Import);

See attached pdf for debugging.

HTX A2.2-2.1 App. 1.1 ULS_Force & Moment Plots_R1.pdf

ThomasHoevel commented 1 month ago

Looks like a corrupted PDF file. If I use File => Save as in Adobe Reader, I get a much smaller file that can be opened by PDFsharp.