Gmagick
PHP Manual

Gmagick::setsamplingfactors

(PECL gmagick >= Unknown)

Gmagick::setsamplingfactorsSets the image sampling factors.

说明

public Gmagick Gmagick::setsamplingfactors ( array $factors )

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


Gmagick
PHP Manual