Gmagick::resampleimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Resample image to desired resolution
Description
Gmagick::resampleimage(float $xResolution, float $yResolution, int $filter, float $blur): Gmagick
Resample image to desired resolution.
Parameters
xResolutionThe new image x resolution.
yResolutionThe new image y resolution.
filterImage filter to use.
blurThe blur factor where larger than 1 is blurry, smaller than 1 is sharp.
Return Values
The Gmagick object on success
Errors/Exceptions
Throw