Screen Capture

Discussion in 'PHP' started by cesarcesar, Aug 9, 2007.

  1. #1
    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
     
    cesarcesar, Aug 9, 2007 IP
  2. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have a look at this link...

    http://www.websitescreenshots.com/

    Note also that thumbshots.org may give you what you want without you needing to do anything. They have thumbnails of most popular websites.
     
    ecentricNick, Aug 10, 2007 IP
  3. cesarcesar

    cesarcesar Peon

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This is based on Windows technology. I have to be able to run it on a Nix platform
     
    cesarcesar, Aug 10, 2007 IP
  4. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can get similar things for unix. Though they usually require x-windows and the associated imaging libraries.

    One thing's for sure - php isn't going to do it. It has no idea what the rendering of the page looks like.
     
    ecentricNick, Aug 10, 2007 IP