PHP
Image/ImageMagick

Imagick::getImageWidth

Imagick::getImageWidth

(PECL imagick 2.0.0)

Imagick::getImageWidth — Returns 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::getImageWhitePoint

Imagick::getInterlaceScheme →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.getimagewidth.php