时间:2021-07-01 10:21:17 帮助过:4人阅读
header("content-type: image/jpeg");
$filename='temp/www.bKjia.c0m/zhutiai.com.jpg';
$im=imagecreatefromjpeg($filename);
$s=imagecreatefrompng('mb.bKjia.c0m/pic/water_template.png');
imagecopymerge($im,$s,0,200,0,0,365,27,20);
imagejpeg($im);
http://www.bkjia.com/PHPjc/633004.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/633004.htmlTechArticle一款超级简单php教程图片水印代码 在php中给图片增加水印有imagecreatefromjpeg imagecreatefrompng imagecopymerge imagejpeg就成了,只要你设置原图与水印...