<?php
/**
This first half is an example of just using the screenshot features, without instantizing the manipulation class
**/
require_once('screenshot.class.php');
class_exists('screenshot') or die('screenshot class does not exist.');
$screen = new screenshot(true, 800, 500);
$screen->navigate('http://google.co.uk');
$screen->title('You can set custom titles too (and custom body if you want)');
$screen->position(0, 0);
$screen->screenshot();
$screen->output();
$screen->save('image.png');
$screen->quit();
unset($screen);
?>