Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revolunet/pdftojpg
HTTP microservice on top of gm
https://github.com/revolunet/pdftojpg
api conversion nodejs now pdf zeit
Last synced: 24 days ago
JSON representation
HTTP microservice on top of gm
- Host: GitHub
- URL: https://github.com/revolunet/pdftojpg
- Owner: revolunet
- Created: 2017-06-02T11:38:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T23:52:30.000Z (over 7 years ago)
- Last Synced: 2024-12-09T11:51:16.156Z (27 days ago)
- Topics: api, conversion, nodejs, now, pdf, zeit
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pdftojpg
HTTP microservice on top of [gm](https://github.com/aheckmann/gm)
return a JPG of the first page of the given PDF.
## Deploy
[![Deploy to now](https://deploy.now.sh/static/button.svg)](https://deploy.now.sh/?repo=https://github.com/revolunet/pdftojpg)
## Usage
```sh
curl -X POST http://127.0.0.1:8888/convert -H "Content-Type: application/pdf" --data-binary "@/path/to/test.pdf" -o out.jpg
```