PHP 8.3.0 RC 6 available for testing

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

说明

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

Sets the image depth.

参数

depth

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

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top