<?php
$im
= imagecreatetruecolor(200, 200);
imagefilledrectangle(
$im
, 0, 0, 200, 200, imagecolorallocate(
$im
, 220, 220, 220));
imagelayereffect(
$im
, IMG_EFFECT_OVERLAY);
imagefilledellipse(
$im
, 100, 100, 160, 160, imagecolorallocate(
$im
, 100, 255, 100));
imagefilledellipse(
$im
, 100, 100, 140, 140, imagecolorallocate(
$im
, 100, 100, 255));
imagefilledellipse(
$im
, 100, 100, 100, 100, imagecolorallocate(
$im
, 255, 100, 100));
header(
'Content-type: image/png'
);
imagepng(
$im
);
imagedestroy(
$im
);
?>