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