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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 ImagickException。