3 ms·
There's an example here: http://code.google.com/p/phantomjs/wiki/QuickStart#Rendering http://code.google.com/p/phantomjs/wiki/QuickStart#Rendering (gives exampl
by imurray 14y ago
There's an example here:
http://code.google.com/p/phantomjs/wiki/QuickStart#Rendering http://code.google.com/p/phantomjs/wiki/QuickStart#Rendering
(gives examples of .png and .pdf generation)
- ashconnor 14y agoThank you for posting. I recently did a bit of research on producing thumbnails with Ruby using this project: https://github.com/csquared/IMGKit https://github.com/csquared/IMGKit. Only problem was getting the screenshot to work with Flash. It seems as thought the javascript delay option on wkhtmltopdf didn't delay at all. Can PhantomJS handle pages with Flash?
- imurray 14y agoNot any more, as a web search immediately reveals: http://code.google.com/p/phantomjs/issues/detail?id=418 http://code.google.com/p/phantomjs/issues/detail?id=418