Php/docs/imagick.setresolution
来自菜鸟教程
Imagick::setResolution
(PECL imagick 2, PECL imagick 3)
Imagick::setResolution — Sets the image resolution
说明
public Imagick::setResolution
( float $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.
参见
- Imagick::setImageResolution() - Sets the image resolution
- Imagick::getImageResolution() - 获取图像的x,y轴分辨率