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

Imagick::setSize()

Imagick::setSize - Sets the size of the Imagick object

Syntax

bool Imagick::setSize (int $columns, int $rows)

Arguments

  • columns
  • rows

Description

Sets the size of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.