18 April 2007 View Comments

Screen capture with PHP and GD

Pierre shows you how to get a screen-shot of a site using PHP and GD2 on Windows. The examples he’s presented shows you how to get a screen shot of IE, and goes on to show how to get a site loaded into IE and capture the screen only after the page loads completely on the browser.

This method can be used to capture any kind of window.

Link: Screen capture with PHP and GD – The Pimp

View Comments to “Screen capture with PHP and GD”

  1. Ken 22 April 2007 at 2:17 am #

    Have you come across any method that works on a Unix server? There seem to be some ways to hook up with Mozilla code to generate a screenshot.

  2. vinu 22 April 2007 at 12:44 pm #

    Nope. haven’t figured out how to get this done on a linux or unix box yet!

  3. vinu 22 April 2007 at 12:46 pm #

    Nope, I haven’t seen any method which work on unix yet. Do let me know if you find it :)

  4. Arun Vijayan 11 May 2007 at 10:23 am #

    Just like creating a COM IE object in Windows, can we create a mozilla instance and navigate to the website? But the possibility relies on imagegrabwindow($handle, 0) will work on linux or not, I guess?

  5. fantastica 3 February 2008 at 5:09 am #

    Thats a really nice thing, but it would be blending, if it would be available under linux

    http://www.opsdesign.at


Leave a Reply

blog comments powered by Disqus