$img = imagecreatefromjpeg('image.jpg');
然后简单地在图像上创建圆:
imagefilledellipse($img, 100, 100, 20, 20, 0x0000FF);
imagejpeg($img);