Imagick
PHP Manual

Imagick::getImageWidth

(PECL imagick 2.0.0)

Imagick::getImageWidthReturns the image width

Description

int Imagick::getImageWidth ( void )

Returns the image width.

Return Values

Returns the image width.

Errors/Exceptions

Throws ImagickException on error.


Imagick
PHP Manual