Imagick
PHP Manual

Imagick::identifyImage

(PECL imagick 2.0.0)

Imagick::identifyImageIdentifies an image and fetches attributes

说明

array Imagick::identifyImage ([ bool $appendRawOutput = false ] )

Identifies an image and returns the attributes. Attributes include the image width, height, size, and others.

参数

appendRawOutput

返回值

Identifies an image and returns the attributes. Attributes include the image width, height, size, and others.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual