Gmagick::setimagedepth
PHP Manual
PHP Manual»Gmagick»Gmagick::setimagedepth

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

Descrizione

public function Gmagick::setimagedepth(int $depth): Gmagick

Sets the image depth.

Elenco dei parametri

depth
The image depth in bits: 8, 16, or 32.

Valori restituiti

The Gmagick object.

Errori/Eccezioni

Throws an GmagickException on error.

To Top