Gmagick::setimagechanneldepth

(PECL gmagick >= Unknown)
Sets the depth of a particular image channel
public Gmagick Gmagick::setimagechanneldepth ( int $channel, int $depth )

Sets the depth of a particular image channel.

Parameters:
channel

Identify which channel to extract: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel.

depth

The image depth in bits.

Returns:

The Gmagick object on success

Exception:

Throws an GmagickException on error.

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.