PHP 8.3.4 Released!

Gmagick::separateimagechannel

(PECL gmagick >= Unknown)

Gmagick::separateimagechannelSepara un canal de la imagen

Descripción

public Gmagick::separateimagechannel(int $channel): Gmagick

Separa un canal de la imagen y devuelve una imagen en escala de grises. Un canal es un componente de color en particular de cada píxel de la imagen.

Parámetros

channel

Identifica qué canal extraer: RedChannel, GreenChannel, BlueChannel, OpacityChannel, CyanChannel, MagentaChannel, YellowChannel, BlackChannel.

Valores devueltos

El objeto Gmagick si se tuvo éxito

Errores/Excepciones

Arroja un GmagickException en caso de error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top