Location: PHPKode > scripts > Screenshot > screenshot/examples/2.php

From here is an alternative example which shows how you could use the manipulation features too, because it extends the original class you would use it like normal, but with additional features.


class_exists('screenshot') or die('screenshot class does not exist.');
class_exists('manipulate') or die('manipulate class does not exist.');

$screen = new manipulate(true, 720, 500);
$screen->title('You can set custom titles too (and custom body if you want)');
$screen->position(0, 0);


/** Enjoy everyone! **/

Return current item: Screenshot