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

Imagick::scaleImage()

Imagick::scaleImage - Scales the size of an image

Syntax

bool Imagick::scaleImage (int $cols, int $rows, bool $bestfit)

Arguments

  • cols
  • rows
  • bestfit

Description

Scales the size of an image to the given dimensions. The other parameter will be calculated if 0 is passed as either param.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.