Rewrite Example.php to write to an image