Imager::AverageGray - Finds the average gray for a Imager object or image.
Version 0.0.0
Quick summary of what the module does.
Perhaps a little code snippet.
use Imager::AverageGray; my $ag = Imager::AverageGray->new(); ...
Initiates the object.
my $ag=Imager::AverageGray->new;
This returns the average gray from a specified file.
my $gray=$ag->fromFile('image.jpg'); if($ag->{error}){ print 'Error:'.$ag->{error}.': '.$ag->{errorString}."\n"; }
This finds the average gray for a Imager object.
my $gray=$ag->fromObject($img); if($ag->{error}){ print 'Error:'.$ag->{error}.': '.$ag->{errorString}."\n"; }
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef; $self->{errorString}="";
File does not exist.
The specified file is not a file.
Imager failed to read the file.
Zane C. Bowers, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-image-averagegray at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Image-AverageGray. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-image-averagegray at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Image::AverageGray
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Image-AverageGray
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Image-AverageGray
CPAN Ratings
http://cpanratings.perl.org/d/Image-AverageGray
Search CPAN
http://search.cpan.org/dist/Image-AverageGray/
Copyright 2009 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Imager::AverageGray, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager::AverageGray
CPAN shell
perl -MCPAN -e shell install Imager::AverageGray
For more information on module installation, please visit the detailed CPAN module installation guide.