I really dont understand why I should open a new browser instance (Electron) to view one pdf when I could just open it in my browser..
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.