Imagick
PHP Manual

Imagick::getImageResolution

(PECL imagick 2.0.0)

Imagick::getImageResolutionGets the image X and Y resolution

说明

array Imagick::getImageResolution ( void )

Gets the image X and Y resolution.

返回值

Returns the resolution as an array.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual