Gmagick
PHP Manual

Gmagick::getsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::getsamplingfactorsGets the horizontal and vertical sampling factor

说明

public array Gmagick::getsamplingfactors ( void )

Gets the horizontal and vertical sampling factor.

参数

此函数没有参数。

返回值

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

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual