PHP - Manual: Gmagick::resampleimage
2024-11-13
(PECL gmagick >= Unknown)
Gmagick::resampleimage — Resample image to desired resolution
$xResolution
,$yResolution
,$filter
,$blur
Resample image to desired resolution.
xResolution
The new image x resolution.
yResolution
The new image y resolution.
filter
Image filter to use.
blur
The blur factor where larger than 1 is blurry, smaller than 1 is sharp.
The Gmagick object on success
错误时抛出 GmagickException。
官方地址:https://www.php.net/manual/en/gmagick.resampleimage.php