= Unknown)Gmagick::setsamplingfactors — Sets the image sampling factors說(shuō)明public Gmagick::setsamplingfactors(">

Gmagick::setsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::setsamplingfactorsSets the image sampling factors

說(shuō)明

public Gmagick::setsamplingfactors(array $factors): Gmagick

Sets the image sampling factors.

參數(shù)

factors

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

返回值

The Gmagick object.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。