Replies: 2 comments 1 reply
-
Wish I knew. I always hated Ghostscript. It makes PDF comics look like crap. I'll keep an eye out. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There seems to be a viewer based on pdfium called PdfiumViewer. This fork has been updated for .NET 6 and was updated as recently as 2 months ago: https://github.com/Bluegrams/PdfiumViewer Another option is using the Community License of Syncfusion. They do allow its use in open-source projects and have a component that offers a pdf renderer. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the process of removing the old sharpPDF library (mainly use for exporting to PDF) and add one from nuget, I added PdfSharp. I've updated the part that was used to create PDF's. Then thinking I could use it to update the reader so it supports all kind of PDF, I figured out I could use that same library for it. All I could get out of it, is extracting images, like the native viewer we have.
I then tried iText7. After updating the create the PDF part. I am again facing the same problem. I found a code on Github to render the iText objects to an image. Well the results were bad. Images had their resolution blown up (slowing down the reader) and rest wasn't rendered correctly.
There is talk about pdfium by Google and there are wrappers for it, but that has been discontinued (like everything Google).
Which brings up back to Ghostscript, which we already have, like it's the only possible way. Which is already very very slow. There are other libraries, but almost all are paid or require some kind of yearly license bullshit. I can't believe that there isn't a free PDF viewer out there.
Any idea? I've lost an entire evening rewriting twice some code to then try to figure out to update the pdf viewer just to figure out that what we have, might already be what is best.
Beta Was this translation helpful? Give feedback.
All reactions