php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::setsamplingfactors

Gmagick::setsamplingfactors

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Sets the image sampling factors

Description

Gmagick::setsamplingfactors(array $factors): Gmagick

Sets the image sampling factors.

Parameters

factors

An array of floats representing the sampling factor for each color component (in RGB order).

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/setsamplingfactors.xml · from the official PHP manual (php/doc-en)