Gmagick
PHP Manual

Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution.

Descrierea

public Gmagick Gmagick::setimageunits ( int $resolution )

Sets the image units of resolution.

Parametri

resolution

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

Valorile întoarse

The Gmagick object on success.

Erori/Excepții

Emite o GmagickException în caz de eroare.


Gmagick
PHP Manual