I would like to take a screenshot of a rendered webpage in Google App Engine. Any suggestions on the best way I can accomplish this? Any Java libraries that I can programmatically render a page to a JPG or PNG?
+4
A:
You would really need a complete render engine for this to work, and I doubt any of them would run on Google App Engine. I think it would be best to use an external API such as thumbalizr. Also have a look at BrowserShots.
Blixt
2009-08-18 06:00:43
+1
A:
i would use a public webservice for that. something like girafa. if you need shots for all browsers browsershots is the one for you.
Andreas Petersson
2009-08-18 06:02:04
A:
Try whether you can use SWT in GAE. It contains a browser control which you can render to. I've posted an answer here with some code how to do save the content of the browser widget as a PNG but I can't find it anymore.
Aaron Digulla
2009-08-18 07:48:57