How can I generate a screenshot of a webpage using a server-side script?
php, python, screenshot, server-side-scripting
Solution
You can probably write something similar to webkit2png, unless your server already runs Mac OS X.
UPDATE: I just saw the link to its Linux equivalent: khtml2png
See also:
- Create screenshots of a web page using Python and QtWebKit
- Taking automated webpage screenshots with embedded Mozilla
Problem
I need a server-side script (PHP, Python) to capture a webpage to a PNG, JPG, Tiff, GIF image and resize them to a thumbnail. What is the best way to accomplish this? See also: - Web Page Screenshots with PHP? - How can I take a screenshot of a website with PHP and GD? - How might I obtain a Snapshot or Thumbnail of a web page using PHP?