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

Imagick::getImageGeometry()

Imagick::getImageGeometry - Gets the width and height as an associative array

Syntax

array Imagick::getImageGeometry ()

Arguments

-

Description

Returns the width and height as an associative array.

Version

PHP PECL imagick 2.0.0

Return value

Returns an array with the width/height of the image. Throw an ImagickExceptionon error.