Sets the image units of resolution

# Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunits — Sets 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.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open