The Imagick class
PHP Manual

Imagick::getImageGeometry

(PECL imagick 2.0.0)

Imagick::getImageGeometryGets the width and height as an associative array

Description

array Imagick::getImageGeometry ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns the width and height as an associative array.

Return Values

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


The Imagick class
PHP Manual