Skip to content

Fast pdf to png conversion REST webservice using flask, libvips, docker, pypy

License

Notifications You must be signed in to change notification settings

krzynio/pdf2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf2png

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

Params

  • 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)

Docker image

https://hub.docker.com/r/krzynio/pdf2png/

About

Fast pdf to png conversion REST webservice using flask, libvips, docker, pypy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published