Gmagick::setsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::setsamplingfactorsSets the image sampling factors

说明

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

Sets the image sampling factors.

参数

factors

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

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException