imalhasaranga / PDFLib

Current Release provide you methods to convert PDF to Images as well as Images to PDF, future releases will included more functions to interact with PDF files
MIT License
58 stars 37 forks source link

Converting a range of pages fails #3

Closed joshbmarshall closed 6 years ago

joshbmarshall commented 7 years ago

If a range of pages is given that does not start with a 1, e.g. if you want to render pages 3 to 5, it gives an error. Specifically ghostscript numbers the output starting with 1 each time and so names the files page1 to page3 rather than page3 to page5. I have submitted a pull request that fixes this issue

joshbmarshall commented 6 years ago

Hi any chance you can accept the pull request? I'm using this in production

imalhasaranga commented 6 years ago

I'm reviewing it today, i'm really sorry for being this late

imalhasaranga commented 6 years ago

This issue will be resolved with the latest version of the PdfLib.. thank you very much for the support