Page 1 of 1
Screen Capture
Posted: Fri Aug 10, 2007 12:21 am
by cesarcesar
i want to do a screen capture/scrape of a page, resulting in a JPG or PNG that i could save in a dir of my choice. This capture needs to take place a few seconds after the page loads, to allow all JavaScript and Flash elements on page to load.
It would be great if i could also/just target a specific JS or Flash element to grab, instead of the whole page. There has to be some great PHP solutions for this.
Thanks, Cesar
Posted: Fri Aug 10, 2007 1:25 am
by feyd
I seriously doubt there are PHP client emulators that render Flash. Even Javascript is unlikely.
Posted: Fri Aug 10, 2007 1:28 am
by dude81
May be
imagegrabscreen and
imagegrabwindow functions could be of help from PHP-GD library
Posted: Fri Aug 10, 2007 1:35 am
by cesarcesar
I have looked into both, but one is windows only and the other is not working for me.
there has to be some type of server-side scripts and modules that can render a page server-side.
sitevista.com does it... why cant I?
i have to be able to load a page in the background. possibly load it into cache first. HTML to PDF conversion scripts do it... sorta somewhat.
thanks for the replys
Posted: Fri Aug 10, 2007 7:03 am
by onion2k
cesarcesar wrote:sitevista.com does it... why cant I?
Could it be because they're better at development than you?
Looking at their site I imagine they've created a system that automates browser interaction. Pretty cool, but a lot of work. Certainly not something you'd be able to do with PHP.