php--imagecreatefromjpeg的用法

<?php
/**
 * Created by PhpStorm.
 */

$my_image = imagecreatefromjpeg("images/baseimage.jpg");
$white = imagecolorallocate($my_image,255,255,255);
imagefilledellipse($my_image,130,100,30,30,$white);
imagefilledellipse($my_image,230,100,30,30,$white);
imagefilledellipse($my_image,330,100,30,30,$white);

header('Content-type:image/png');
imagepng($my_image);

imagedestroy($my_image);

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 撸撸猫 设计师:C马雯娟 返回首页