Gmagick
PHP Manual

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

说明

public Gmagick Gmagick::setimagedepth ( int $depth )

Sets the image depth

参数

depth

The image depth in bits: 8, 16, or 32.

返回值

The Gmagick object on success.

错误/异常

Throws an GmagickException on error.


Gmagick
PHP Manual