Gmagick::resizeimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Scales an image
Description
Gmagick::resizeimage(int $width, int $height, int $filter, float $blur, bool $fit = false): Gmagick
Scales an image to the desired dimensions with a filter.
Parameters
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.
Return Values
The Gmagick object.
Errors/Exceptions
Throw