Home > PHP > Function > > Imagick::separateImageChannel()

Imagick::separateImageChannel()

Imagick::separateImageChannel - Separates a channel from the image

Syntax

bool Imagick::separateImageChannel (int $channel)

Arguments

  • channel

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.