-
Notifications
You must be signed in to change notification settings - Fork 257
Trouble reading images inside a PDF file #377
pstragliotto
started this conversation in
General
Hello,
in a c# project we developed we used your library to extract images inside PDF layers.
This has always worked like a charm in Windows.
Lately we had to port the application to macOS as well, and generally the library works well for exporting PDF etc.
But for the specific need to extract images from an existing PDF file, the app crashes when trying to
read from the PDFPage object with
var resources = page.Elements.GetDictionary("/Resources");
var xObjects = resources.Elements.GetDictionary("/XObject");
We are currently using PDFSharp version 6.2.0.
Any suggestion?
All reactions
Replies: 1 comment
Are you saying that this code works under Windows, but fails under MacOS?
The same assemblies (DLL files) are used on all platforms.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment