Gmagick
PHP 手册

Gmagick::getsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::getsamplingfactorsGets the horizontal and vertical sampling factor.

说明

public void Gmagick::getsamplingfactors ( void )

Gets the horizontal and vertical sampling factor.

参数

This function has no parameters.

返回值

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

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册