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

Gmagick::getimagedepth

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Gets the depth of the image

Description

Gmagick::getimagedepth(): int

Gets the depth of the image.

Parameters Parameters

Return Values

Image depth

Errors/Exceptions

Throw

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