Imagick::setResolution

(PECL imagick 2, PECL imagick 3)

Imagick::setResolutionSets the image resolution

說明

public Imagick::setResolution(float $x_resolution, float $y_resolution): bool

Sets the image resolution.

參數(shù)

x_resolution

The horizontal resolution.

y_resolution

The vertical resolution.

返回值

成功時(shí)返回 true。

注釋

Imagick::setResolution() must be called before loading or creating an image.

參見