@things-factory/pdf
v7.0.1-alpha.43
Published
Module that provide services for merging pdf files and extracting image from pdf.
Downloads
1,582
Maintainers
Keywords
Readme
pdf-base
prerequisites
- curl should be installed
- ubuntu [https://www.cyberciti.biz/faq/how-to-install-curl-command-on-a-ubuntu-linux/]
- MacOS [http://macappstore.org/curl/]
- ghostscript should be installed
- ubuntu [https://www.howtoinstall.me/ubuntu/18-04/ghostscript/]
- MacOS [http://macappstore.org/ghostscript/]
- [https://www.ghostscript.com/doc/current/Install.htm]
services
- get /pdf/to-png
http://localhost:3000/pdf/to-png?url=http://www.africau.edu/images/default/sample.pdf
- get /pdf/merge
http://localhost:3000/pdf/merge?urls=http://www.africau.edu/images/default/sample.pdf&urls=https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
- post /pdf/merge
http://localhost:3000/pdf/merge
body:
{
"urls":[
"http://www.africau.edu/images/default/sample.pdf",
"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
]
}