Gmagick
PHP 手册

Gmagick::setimageresolution

(PECL gmagick >= Unknown)

Gmagick::setimageresolutionSets the image resolution

说明

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

Sets the image resolution.

参数

xResolution

The image x resolution.

yResolution

The image y resolution.

返回值

The Gmagick object on success.

错误/异常

错误时抛出 GmagickException


Gmagick
PHP 手册