apex / capture

Lambda function to capture a URL as PNG, JPG, or GIF using PhantomJS
108 stars 5 forks source link

PDF #2

Open tj opened 8 years ago

tj commented 8 years ago

would be cool

tleunen commented 8 years ago

Hey @tj, Phantom provides a rasterize.js script giving more options for a better rendering. Using it should provide the pdf output :)

See https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js

tj commented 8 years ago

ah yea I saw that, it's just kinda tricky to read with all the nesting

guidiego commented 7 years ago

I want to contribute :) Maybe we can use some lib that use phantom behind? Like html-pdf