Gmagick
PHP Manual

Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

Descrição

public Gmagick Gmagick::setimagedepth ( int $depth )

Sets the image depth

Parâmetros

depth

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

Valor Retornado

The Gmagick object on success.

Erros

Throws an GmagickException on error.


Gmagick
PHP Manual