Php/docs/gmagick.getsamplingfactors

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

Gmagick::getsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::getsamplingfactorsGets the horizontal and vertical sampling factor


说明

public Gmagick::getsamplingfactors ( ) : array

Gets the horizontal and vertical sampling factor.


参数

此函数没有参数。


返回值

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


错误/异常

错误时抛出 GmagickException