(PECL imagick 2, PECL imagick 3)
Imagick::setResolution — Sets the image resolution
$x_resolution, float $y_resolution): bool
Sets the image resolution.
x_resolution
The horizontal resolution.
y_resolution
The vertical resolution.
成功时返回 true。
Imagick::setResolution() must be called before loading or creating an image.