Image::Filter::Level - Level an image.
use Image::Filter; $image = Image::Filter::newFromJpeg("munich.jpg"); $image = $image->filter("level",100); #Load Image::Filter::Level #Pass a level 100 to Image::Filter::Level $image->Jpeg("test.jpg");
Image::Filter is a perl module that can apply image filters. This module implements a simple level function. It uses the gd lib from Thomas Boutell. This filter handles true color images.
level
level takes 2 parameters: an instance of Image::Filter and the level to use. The first parameter is usually passed thru the filter call in Image::Filter. The second parameter should be passed explicitly. The value 0 (no change) is used by default.
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.
perl.
To install Image::Filter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Filter
CPAN shell
perl -MCPAN -e shell install Image::Filter
For more information on module installation, please visit the detailed CPAN module installation guide.