Php/docs/gmagick.setsamplingfactors

来自菜鸟教程
跳转至:导航、​搜索

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 doubles representing the sampling factor for each color component (in RGB order).


返回值

The Gmagick object on success.


错误/异常

错误时抛出 GmagickException