wampserver
header("content-type:", $info['mime']);
$func($img,'newimage.'.$type);
你这两句不知道是打错了,还是写错了,你的打开是乱码,有没有报错信息,还有看看你保存php文件的编码是不是utf-8无bom格式的
imagecopymerge($image, $water, 20, 30, 0, 0, $info2[2], $info2[1], 30);
这里的宽高是$info2[0] $info2[1]
16 行没少s 应该是后两个问题