Gmagick
PHP Manual

Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution.

Descrição

public Gmagick Gmagick::setimageunits ( int $resolution )

Sets the image units of resolution.

Parâmetros

resolution

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

Valor Retornado

The Gmagick object on success.

Erros

Lança uma exceção GmagickException em erros.


Gmagick
PHP Manual