= Unknown)Gmagick::setimageresolution — Sets the image resolution說(shuō)明public Gmagick::setimageresolution(float ">

Gmagick::setimageresolution

(PECL gmagick >= Unknown)

Gmagick::setimageresolutionSets the image resolution

說(shuō)明

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

Sets the image resolution.

參數(shù)

xResolution

The image x resolution.

yResolution

The image y resolution.

返回值

The Gmagick object on success.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。