pvginkel / PdfiumViewer

PDF viewer based on Google's PDFium.
Apache License 2.0
966 stars 418 forks source link

Only working on Windows #163

Open facundofarias opened 6 years ago

facundofarias commented 6 years ago

I've tried the library, and as it relies on the native library System.Drawing, it cannot be used in OSX/Linux while running .NET Core Apps.

JanieHuang commented 6 years ago

Would we be able to get some support for this @pvginkel ? I am having the same problem with ASP.NET Core application since it's relying on System.Drawing. With out that support the document.Render() method does not work.

BHSPitMonkey commented 5 years ago

I would love to see this happen as well. If no one else picks this up, I may try to hack up a fork without any of the Windows dependencies present (I just need to be able to Render() out to raw pixel bytes and manipulate it downstream).

Another possible solution might be to use the System.Drawing.Common package talked about here: https://www.hanselman.com/blog/HowDoYouUseSystemDrawingInNETCore.aspx