Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution

Descrierea

public Gmagick::setimageunits ( int $resolution ) : Gmagick

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.