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::setimagewhitepointGmagick::setsize>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::setsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::setsamplingfactors — Sets the image sampling factors

Description

public function 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

Throws an GmagickException on error.


<Gmagick::setimagewhitepointGmagick::setsize>
^GmagickLast updated: Mon, 26 Oct 2026