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::setimagerenderingintentGmagick::setimagescene>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::setimageresolution

(PECL gmagick >= Unknown)

Gmagick::setimageresolution — Sets the image resolution

Description

public function Gmagick::setimageresolution(float $xResolution, float $yResolution): Gmagick

Sets the image resolution.

Parameters

xResolution

The image x resolution.

yResolution

The image y resolution.

Return Values

The Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::setimagerenderingintentGmagick::setimagescene>
^GmagickLast updated: Mon, 26 Oct 2026