Hi,
In my app I download pdf file and read its content to use information. Previously website was publishing PDF-1.5 and recently they have changed it %PDF-1.4, also pdf average size is increased from 150kb to 390kb, which means the software generating pdf is changed. Both files open without any problem in Adobe Reader, Foxit Reader or Edge.
With this change I am getting following exceptions for following function:
ContentReader.ReadContent(inputDocument.Pages[i])
Page 0: The given key was not present in the dictionary
Page 1 & 2: Unexpected Character "0x¥" in content stream. Stream may be corrupted or the feature is not implemented. If you think it is a bug in PDFSharp, send us your file.
Page 3: Unexpected Character "0x " in content stream. Stream may be corrupted or the feature is not implemented. If you think it is a bug in PDFSharp, send us your file.
Kindly check the file from following link and guide for the solution.
https://www.police.wa.gov.au/~/media/Files/Police/Traffic/Cameras/Camera-locations/MediaLocations-23102017-to-29102017Week1.pdf?la=enThanks