(PECL gmagick >= Unknown)
Gmagick::resizeimage — Scales an image
public Gmagick::resizeimage( int $width, int $height, int $filter, float $blur, bool $fit = false ): Gmagick
Scales an image to the desired dimensions with a filter.
widthThe number of columns in the scaled image.
heightThe number of rows in the scaled image.
filterImage filter to use.
blurThe blur factor where larger than 1 is blurry, lesser than 1 is sharp.
The Gmagick object.
Throws an GmagickException on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.resizeimage.php