fzaninotto / screenshot-as-a-service

Website screenshot service powered by node.js and phantomjs
1.1k stars 243 forks source link

Adding support for PDF output #49

Closed lkobashigawa closed 10 years ago

lkobashigawa commented 10 years ago

Not sure if anyone else has a need for this, but I wanted to output PDFs instead of PNGs so added a 'format' parameter as well as parameters for the PDF paper size and orientation.

lkobashigawa commented 10 years ago

Created the pull request from master instead of the pdf support branch, closing this one and opening a new one.