Php/docs/gmagick.setimageunits

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

Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution


说明

public Gmagick::setimageunits ( int $resolution ) : Gmagick

Sets the image units of resolution.


参数

resolution
The image units of resolution : Undefinedresolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution.


返回值

The Gmagick object on success.


错误/异常

错误时抛出 GmagickException