Php/docs/imagick.getsamplingfactors

来自菜鸟教程
跳转至:导航、​搜索

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。