mooz / node-pdf-image

Provides an interface to convert PDF's pages to png files in Node.js by using ImageMagick
MIT License
237 stars 87 forks source link

Feature to convert whole file and combine output images #36

Closed roest01 closed 6 years ago

roest01 commented 6 years ago

My repo roest01/multipage-pdf-to-png is a bash script which convert a multipage(!) pdf document into a single png file. To deal with 2018 and push this requirement to the next level i had the option to make an npm package with this feature or use an existing package and implement my feature. Here i am

This PullRequest add two tested features without breaking API changes.

  1. convertFile converts a whole PDF into images
  2. convertFile with combinedImage:true converts a single PDF to single Image

PR affects issue #10 by adding convertFile() function.

Please merge only after: #35

mooz commented 6 years ago

Thanks!