Gmagick::getsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::getsamplingfactorsGets the horizontal and vertical sampling factor

說(shuō)明

public Gmagick::getsamplingfactors(): array

Gets the horizontal and vertical sampling factor.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。