Gmagick::setimageresolution()
(PECL gmagick >= Unknown)
Sets the image resolution
说明
public Gmagick::setimageresolution(float $xResolution,float $yResolution): Gmagick
Sets the image resolution.
参数
- $xResolution
The image x resolution.
- $yResolution
The image y resolution.
返回值
The Gmagick object on success.
错误/异常
错误时抛出GmagickException。