= Unknown)Gmagick::setimagedepth — Sets the image depth說(shuō)明public Gmagick::setimagedepth(int $depth): GmagickSets t">

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

說(shuō)明

public Gmagick::setimagedepth(int $depth): Gmagick

Sets the image depth.

參數(shù)

depth

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

返回值

The Gmagick object.

錯(cuò)誤/異常

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