<?php $img = imagecreate(200, 200); imagecolorallocate($img, 0xFF,0,0); header("Content-type: image/png"); imagepng($img); ?>