【php开源代码栏目提醒】:网学会员,鉴于大家对php开源代码十分关注,论文会员在此为大家搜集整理了“9.16.php”一文,供大家参考学习!
<?php
header("Content-type: image/png");
// Create a truecolor image with alpha blending
$im = imagecreatetruecolor(200,200);
imagealphablending ($im,true);
// Background color
$bkg = imagecolorresolvealpha($im, 255,255,255,0);
// Red with ~70% alpha blending (90/127)
$red = imagecolorresolvealpha($im, 255,0,0,90);
// White background
imagefilledrectangle($im,0,0,200,200,$bkg);
// Filled circle (with moire' patterns)
imagefilledellipse($im,100,100,120,120,$red);
imagepng($im);
imagedestroy($im);
?>
上一篇:
9.15.php
下一篇:
恋沫