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

Gmagick::setimageresolution

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the image resolution

Description

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

Throw

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