PDFs to Images is tool for converting PDFs. It uses NodeJS and calls commandline tools for converting PDFs.
- https://github.com/db9052/pdf2svg for SVG
- http://www.imagemagick.org/script/binary-releases.php for PNG (Later with other formats)
Useage:
mkdir to
npm install
node index.js --file=PATH_TO_PDF --to=./to/ --render=svg
- --file Absolute path to pdf
- --to where images are rendered
- --render svg or png
There is REST server for converting images. Usage:
mkdir uploads
mkdir to
npm install
node server.js --render=png --to=/to --upload=/uploads --port=8080
- --render svg or png
- --to path to render images (Relative path)
- --upload upload path for pdfs (Relative path)
- --port Port for server
API
###Test online At the moment there is online test tool in this address:
- http://13.90.210.94/
- Online presentations from pdfs
###License MIT