[PHP]代码
<?php
$fileurl = '1.png';
header("Content-type: image/png");
$img = imagecreatefrompng($fileurl);
imagealphablending($img,false); //(取消)注释此段代码验证输出
imagesavealpha($img,true); //(取消)注释此段代码验证输出
imagepng($img);
imagedestroy($img);
/*End of php*/
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn