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��