注释掉(大约在110,111行)
大约112行:
- else
- imagecopyresized($thumbimg, $srcimg, 0, 0, $psrc_x, $psrc_y, $width, $height, $srcwidth, $srcheight);
$imagefun($thumbimg, $filename);
替换
$imagefun($thumbimg, $filename,90);
90为图片质量值,越大越清
大约112行:
- else
- imagecopyresized($thumbimg, $srcimg, 0, 0, $psrc_x, $psrc_y, $width, $height, $srcwidth, $srcheight);
添加微信好友
添加微信好友
微信小程序
百度小程序
文章点评