php / 8.1.5 / imagick.getimagedepth.html /

Imagick::getImageDepth

(PECL imagick 2, PECL imagick 3)

Imagick::getImageDepthGets the image depth

Description

public Imagick::getImageDepth(): int

Gets the image depth.

Parameters

This function has no parameters.

Return Values

The image depth.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.getimagedepth.php