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?
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?
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:
2.1m questions
2.1m answers
60 comments
57.0k users