Image::Filter::Channel - Extract RGB Channels from an image.
use Image::Filter; my $channel = 1; #1 for red, 2 for green, 3 for blue $image = Image::Filter::newFromJpeg("munich.jpg"); $image = $image->filter("channel",$channel); $image->Jpeg("test.jpg");
Image::Filter is a perl module that can apply image filters. This module implements a channel extraction. It uses the gd lib from Thomas Boutell.
Hendrik Van Belleghem, <beatnik + at + quickndirty + dot + org>
Image::Filter is released under the GNU Public License. See COPYING and COPYRIGHT for more information.
Image::Filter is based on the concepts tought to me by my math professor J. Van Hee. This module wouldn't be possible without the work of Thomas Boutell on his gd library. Inspiration, but no code, was taken from Lincoln D. Steins GD implementation of that same gd lib.