Fast pdf to png conversion using libvips, docker, pypy
Use it like this:
curl -F "[email protected]" -F "dpi=150" http://localhost:5000/image > test.png
- image - PDF file
- dpi - DPI (default 72)
- n - number of pages (default -1 - all pages)
- page - page number (default 0)
- grayscale - convert to grayscale if param has any value (default 0)