Free alternative to Moriyama.PreviewPDF for creating PDF thumbnail?
I want to make a thumbnail of page 1 when a PDF file is uploaded to Umbraco backend.
The package Moriyama.PreviewPDF (https://marketplace.umbraco.com/package/moriyama.previewpdf.abcpdf) requires licenses for either ABCpdf or IronPDF (or using Ghostscript, but that's not available at my hosting provider).
The Moriyama.PreviewPDF package is open source so you could use that as a base but possibly wire in QuestPDF - I don't know what it's licensing model looks like so you'd have to investigate that. I'm also not sure how capable it is of generating the thumbnail, all I know is that it has the option of generating images:
When Moriyama made the package, I know that we only found limited PDF processing packages that could easily generate the images, but we are open to PR's to improve the package if you find a good alternative :-)
I have tried QuestPDF, but ended up finding out that it is used for creating, not opening or processing PDF's, so it is not a solution for my task as I can see.
Free alternative to Moriyama.PreviewPDF for creating PDF thumbnail?
I want to make a thumbnail of page 1 when a PDF file is uploaded to Umbraco backend.
The package Moriyama.PreviewPDF (https://marketplace.umbraco.com/package/moriyama.previewpdf.abcpdf) requires licenses for either ABCpdf or IronPDF (or using Ghostscript, but that's not available at my hosting provider).
Are there alternatives?
Hi Martin,
The Moriyama.PreviewPDF package is open source so you could use that as a base but possibly wire in QuestPDF - I don't know what it's licensing model looks like so you'd have to investigate that. I'm also not sure how capable it is of generating the thumbnail, all I know is that it has the option of generating images:
https://www.questpdf.com/concepts/generating-output.html
When Moriyama made the package, I know that we only found limited PDF processing packages that could easily generate the images, but we are open to PR's to improve the package if you find a good alternative :-)
Thanks
Nik
Thanks. :)
I have tried QuestPDF, but ended up finding out that it is used for creating, not opening or processing PDF's, so it is not a solution for my task as I can see.
I think this is better solution, https://github.com/skttl/ImageSharpCommunity.Formats.Pdf?tab=readme-ov-file
Thanks. Unfortunately I get error when trying to install:
is working on a reply...