Home > PHP > Function > > Imagick::getImageResolution()

Imagick::getImageResolution()

Imagick::getImageResolution - Gets the image X and Y resolution

Syntax

array Imagick::getImageResolution ()

Arguments

-

Description

Gets the image X and Y resolution.

Version

PHP PECL imagick 2.0.0

Return value

Returns the resolution as an array. Throw an ImagickExceptionon error.