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

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

    http://www.opsdesign.at
  • 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?
  • vinuthomas
    Nope, I haven't seen any method which work on unix yet. Do let me know if you find it :)
  • vinuthomas
    Nope. haven't figured out how to get this done on a linux or unix box yet!
  • Ken
    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.
blog comments powered by Disqus