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

Add non-zero based numbering for page paths. #18

Open dustinc opened 8 years ago

dustinc commented 8 years ago

Found myself wanting output to be non-zero based numbering in custom "convertAllPages" script. Only affects output image path. So convertPage(0) would write tmp/test-1.png in example. Defaults to original zero-based numbering.

dustinc commented 8 years ago

Same thing here, would love to get added and on npm. Anything I can do to help out?