PHP
Image/GraphicsMagick

Gmagick::setsamplingfactors

Gmagick::setsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::setsamplingfactors — Sets the image sampling factors.

Description

public Gmagick Gmagick::setsamplingfactors ( array $factors )

Sets the image sampling factors.

Parameters

factors

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

Return Values

The Gmagick object on success.

Errors/Exceptions

Throws an GmagickException on error.

← Gmagick::setimagewhitepoint

Gmagick::setsize →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/gmagick.setsamplingfactors.php