Php/docs/gmagick.setimageresolution

来自菜鸟教程
跳转至:导航、​搜索

Gmagick::setimageresolution

(PECL gmagick >= Unknown)

Gmagick::setimageresolutionSets 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