Imagick
PHP 手册

Imagick::getSize

(PECL imagick 2.0.0)

Imagick::getSizeReturns the size associated with the Imagick object

说明

array Imagick::getSize ( void )

Returns the size associated with the Imagick object as an array with the keys "columns" and "rows".

返回值

Returns the size associated with the Imagick object as an array with the keys "columns" and "rows".


Imagick
PHP 手册