The Imagick class
PHP Manual

Imagick::separateImageChannel

(PECL imagick 2.0.0)

Imagick::separateImageChannelSeparates a channel from the image

Descrição

bool Imagick::separateImageChannel ( int $channel )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.

Parâmetros

channel

Valor Retornado

Retorna TRUE em sucesso.

Erros

Dispara ImagickException em erro.


The Imagick class
PHP Manual