PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Error: The file may be corrupted
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4452
Page 1 of 1

Author:  lgavin [ Tue Jun 20, 2023 4:14 pm ]
Post subject:  Error: The file may be corrupted

I have a valid PDF file, it can be opened with a number of different PDF viewers (Adobe, MS Edge, etc.). When I attempt to open it using PDFSharp I get the exception "Unexpected character '0xffff' in PDF stream. The file may be corrupted. If you think this is a bug in PDFsharp, please send us your PDF file.". Unfortunately, I cannot upload the PDF as it contains medical PHI data. I am using version 1.50.5147 (latest stable).

Author:  () => true [ Tue Jun 20, 2023 4:29 pm ]
Post subject:  Re: Error: The file may be corrupted

lgavin wrote:
I have a valid PDF file, it can be opened with a number of different PDF viewers (Adobe, MS Edge, etc.).
A valid file? Then we can close the case here.
We'll have a look when you submit a file.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/