<?php
$im = @ImageCreate(80, 80);
$white = imagecolorallocate($im, 241, 241, 241);
$black = imagecolorallocate($im, 52, 106, 159);
imagestring($im, 5, 5, 30, "NO IMAGE", $black);
imagejpeg($im);
imagedestroy($im);
?>
Published in: PHP
Download

Related snippets