Home > PHP > Function > > Imagick::resizeImage()

Imagick::resizeImage()

Imagick::resizeImage - Scales an image

Syntax

bool Imagick::resizeImage (int $columns, int $rows, int $filter, float $blur, bool $bestfit)

Arguments

  • columns - Width of the image
  • rows - Height of the image
  • filter - Refer to the list of filter constants.
  • blur - The blur factor where > 1 is blurry, < 1 is sharp.
  • bestfit - Optional fit parameter.

Description

Scales an image to the desired dimensions with a filter.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.