在线文档教程
PHP
Image/ImageMagick

Imagick::getSamplingFactors

Imagick::getSamplingFactors

(PECL imagick 2.0.0)

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

Description

array Imagick::getSamplingFactors ( void )

Gets the horizontal and vertical sampling factor.

Return Values

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

Errors/Exceptions

Throws ImagickException on error.

← Imagick::getResourceLimit

Imagick::getSize →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.getsamplingfactors.php