(PECL imagick 2, PECL imagick 3)
Imagick::setResolution — Sets the image resolution
$x_resolution
, float $y_resolution
) : boolSets the image resolution.
x_resolutionThe horizontal resolution.
y_resolutionThe vertical resolution.
Returns true on success.
Imagick::setResolution() must be called before loading or creating an image.