首頁 >後端開發 >php教程 >PHP 给图片加边框

PHP 给图片加边框

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-23 13:55:062713瀏覽

header("Content-type: image/png");$im = @imagecreatetruecolor(282, 282) or die("Cannot Initialize new GD image stream");imagecopy($im, imagecreatefrompng('C02D9CE4B4B6E3F6DF8D9DB734.png'), 1,1,0,0,281,281);imagepng($im, 'xxx.png');imagedestroy($im);

添加前:

添加后:

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn