Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Rud 255 posts 986 karma points c-trib
    1 week ago
    Martin Rud
    0

    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?

  • Nik 1604 posts 7228 karma points MVP 7x c-trib
    1 week ago
    Nik
    0

    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

  • Martin Rud 255 posts 986 karma points c-trib
    1 week ago
    Martin Rud
    0

    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.

  • Yakov Lebski 581 posts 2249 karma points
    1 week ago
  • Martin Rud 255 posts 986 karma points c-trib
    1 week ago
    Martin Rud
    0

    Thanks. Unfortunately I get error when trying to install:

    error: There are no versions available for the package 'ImageSharp.Community.Formats.Pdf'.
    
Please Sign in or register to post replies

Write your reply to:

Draft