Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution

Description

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

Sets the image units of resolution.

Parameters

resolution

One of the Resolution constant (Gmagick::RESOLUTION_*).

Return Values

The Gmagick object.

Errors/Exceptions

Throws an GmagickException on error.