Home > PHP > Function > > Imagick::getSamplingFactors()

Imagick::getSamplingFactors()

Imagick::getSamplingFactors - Gets the horizontal and vertical sampling factor

Syntax

array Imagick::getSamplingFactors ()

Arguments

-

Description

Gets the horizontal and vertical sampling factor.

Version

PHP PECL imagick 2.0.0

Return value

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