Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getreleasedateGmagick::getsize>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::getsamplingfactors — Gets the horizontal and vertical sampling factor

Description

public function Gmagick::getsamplingfactors(): array

Gets the horizontal and vertical sampling factor.

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::getreleasedateGmagick::getsize>
^GmagickLast updated: Mon, 26 Oct 2026