php / 8.1.5 / gmagick.setimageresolution.html /

Gmagick::setimageresolution

(PECL gmagick >= Unknown)

Gmagick::setimageresolutionSets the image resolution

Description

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.setimageresolution.php