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

One of the Resolution constant (Gmagick::RESOLUTION_*).

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException