Imagick
PHP Manual

Imagick::identifyImage

(PECL imagick 2.0.0)

Imagick::identifyImageIdentifies an image and fetches attributes

Description

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

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

Parameters

appendRawOutput

Return Values

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

Errors/Exceptions

Throws ImagickException on error.


Imagick
PHP Manual