Mega Code Archive

 
Categories / Php / Graphics
 

A simple image using a single color (red)

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