(PECL imagick 2, PECL imagick 3)
Imagick::getSamplingFactors — Gets the horizontal and vertical sampling factor
Gets the horizontal and vertical sampling factor.
Returns an associative array with the horizontal and vertical sampling factors of the image.
错误时抛出 ImagickException。