GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IMAGER::AVERAGEGRAY (3)

.ds Aq ’

NAME

Imager::AverageGray - Finds the average gray for a Imager object or image.

CONTENTS

VERSION

Version 0.0.0

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.



    use Imager::AverageGray;

    my $ag = Imager::AverageGray->new();
    ...



METHODES

    new

Initiates the object.



    my $ag=Imager::AverageGray->new;



    fromFile

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



    fromObject

This finds the average gray for a Imager object.



    my $gray=$ag->fromObject($img);
    if($ag->{error}){
        print Error:.$ag->{error}.: .$ag->{errorString}."\n";
    }



    errorblank

This blanks the error storage and is only meant for internal usage.

It does the following.



    $self->{error}=undef;
    $self->{errorString}="";



ERROR CODES

    1

File does not exist.

    2

The specified file is not a file.

    3

Imager failed to read the file.

AUTHOR

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Image::AverageGray



You can also look for information at:
o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Image-AverageGray>

o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Image-AverageGray>

o CPAN Ratings

<http://cpanratings.perl.org/d/Image-AverageGray>

o Search CPAN

<http://search.cpan.org/dist/Image-AverageGray/>

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IMAGER::AVERAGEGRAY (3) 2009-04-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.