Gmagick::setimagedepth
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Sets the image depth
Description
Gmagick::setimagedepth(int $depth): Gmagick
Sets the image depth.
Parameters
depthThe image depth in bits: 8, 16, or 32.
Return Values
The Gmagick object.
Errors/Exceptions
Throw