(PECL gmagick >= Unknown)
Gmagick::resampleimage — Resample image to desired resolution
public Gmagick::resampleimage ( float $xResolution , float $yResolution , int $filter , float $blur ) : Gmagick
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
Throws an GmagickException on error.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.resampleimage.php