21,886
社区成员
发帖
与我相关
我的任务
分享
require_once('bmp.php');
$sur_pic = "00100966.bmp";
$tem_pic = imagecreatefrombmp($sur_pic);
$newimg = imagecreatetruecolor(100,200);
imagecopyresampled($newimg, $tem_pic, 0, 0, 0, 0, 100,200, 100, 200);
imagebmp($newimg,"2.bmp");