Imagick::getImageResolution

(PECL imagick 2, PECL imagick 3)

Imagick::getImageResolutionGets the image X and Y resolution

Description

public Imagick::getImageResolution ( ) : array

Gets the image X and Y resolution.

Return Values

Returns the resolution as an array.

Errors/Exceptions

Throws ImagickException on error.