Sets the image units of resolution.


(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution.

Описание

public Gmagick Gmagick::setimageunits ( int $resolution )

Sets the image units of resolution.

Список параметров

resolution

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

Возвращаемые значения

The Gmagick object on success.

Ошибки

Вызывает GmagickException при ошибке.