Brian Cassidy > CGI-Application-PhotoGallery > CGI::Application::PhotoGallery::Imager

Download:
CGI-Application-PhotoGallery-0.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  3
View/Report Bugs
Module Version: 0.16   Source  

NAME ^

CGI::Application::PhotoGallery::Imager - Imager-based graphics adaptor

SYNOPSIS ^

    use CGI::Application::PhotoGallery::Imager;
    
    my $lib     = CGI::Application::PhotoGallery::Image->new;
    my $pngdata = $lib->resize( $file, 100 );

METHODS ^

new( )

creates a new CGI::Application::PhotoGallery::Imager object.

load( $file )

Loads $file and returns an Imager object.

size( $file )

Returns the width and height of $file.

resize( $file, $size )

Resizes $file to $sizex$size with margins.

SEE ALSO ^

AUTHOR ^

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2003-2013 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: