Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getimagedelayGmagick::getimagedispose>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getimagedepth

(PECL gmagick >= Unknown)

Gmagick::getimagedepth — Gets the depth of the image

Description

public function Gmagick::getimagedepth(): int

Gets the depth of the image.

Parameters

This function has no parameters.

Return Values

Image depth

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::getimagedelayGmagick::getimagedispose>
^GmagickLast updated: Mon, 26 Oct 2026