Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 gd2 lib 处理图像。我需要更改图像的分辨率,但我仍然无法在方法列表中找到该方法。那怎么办?
先感谢您
使用imagecopyresampled:
imagecopyresampled($resizedImg, $srcImg, 0, 0, 0, 0, $resizeWidth, $resizeHeight, $srcWidth, $srcHeight)