Gmagick::setimagedepth

(PECL gmagick >= Unknown)

Gmagick::setimagedepthSets the image depth

Descrição

publicGmagick::setimagedepth(int$depth): Gmagick

Sets the image depth.

Parâmetros

depth

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

Valor Retornado

The Gmagick object.

Erros/Exceções

Lança uma exceção GmagickException em caso de erro.

To Top