by rrosen326 · 8y ago · 0 comments
Use case: You're building an electron app. It needs to view pdfs. Right now, you need to implement pdf.js yourself. It's non trivial. And the more full-featured you want it, the harder it is.
And that's only half the issue. What if you want a cross-platform way to create a thumbnail of a pdf? Ugg, don't let me get started on ghostscript...
Embed statically linked versions of imagick in your program or download them upon first load/setup.
Except on OSX, where you can use SIPS. But on Windows, you're stuck with IM/GS.