News for hackers. Stuff that matters.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by 52-6F-62 on Wednesday September 23, 2020 @08:53AM (#24566409)
Unfortunately, it and Poppler, and Imagemagick, etc were all off the table. I was confined to running everything within a Node instance. Couldn't make calls out to command line tools. I tried probably 20 ways of using Poppler-based libraries to no avail.

It definitely would have been the better performing route, and simpler to implement. As it is, since the app is low traffic for actual processing of the images it doesn't matter too much, thankfully.

This library was helpful: https://github.com/ScientaNL/pdf-extractor

I haven't had time to do it cleanly, but I should contribute back with the types I wrote after cleaning them up...

There are no comments on this comment yet.