Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::setimagetypeGmagick::setimagewhitepoint>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunits — Sets the image units of resolution

Description

public function 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.


<Gmagick::setimagetypeGmagick::setimagewhitepoint>
^GmagickLast updated: Mon, 26 Oct 2026