php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::setimageunits

Gmagick::setimageunits

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the image units of resolution

Description

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

Throw

Source: reference/gmagick/gmagick/setimageunits.xml · from the official PHP manual (php/doc-en)