Imagick
PHP Manual

Imagick::getImageWidth

(PECL imagick 2.0.0)

Imagick::getImageWidthReturns the image width

说明

int Imagick::getImageWidth ( void )

Returns the image width.

返回值

Returns the image width.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual