(PECL imagick 2.0.0)
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.
成功时返回 TRUE
。
Imagick::setResolution() must be called before loading or creating an image.