Imagick::getSamplingFactors

(PECL imagick 2, PECL imagick 3)

Imagick::getSamplingFactorsGets the horizontal and vertical sampling factor

说明

public Imagick::getSamplingFactors(): array

Gets the horizontal and vertical sampling factor.

参数

此函数没有参数。

返回值

Returns an associative array with the horizontal and vertical sampling factors of the image.

错误/异常

错误时抛出 ImagickException。