Hendrik Van Belleghem > Image-Filter > Image::Filter::Level

Download:
Image-Filter-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Image::Filter::Level - Level an image.

SYNOPSIS ^

    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"); 

DESCRIPTION ^

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.

EXPORT ^

level

PARAMETERS ^

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.

AUTHOR ^

Hendrik Van Belleghem, <beatnik + at + quickndirty + dot + org>

LICENSE ^

Image::Filter is released under the GNU Public License. See COPYING and COPYRIGHT for more information.

THANKS & CREDITS ^

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.

SEE ALSO ^

perl.

syntax highlighting: