php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::getimagechanneldepth

Gmagick::getimagechanneldepth

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Gets the depth for a particular image channel

Description

Gmagick::getimagechanneldepth(int $channel_type): int

Gets the depth for a particular image channel.

Parameters Parameters

Return Values

Depth of image channel

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/getimagechanneldepth.xml · from the official PHP manual (php/doc-en)