NAME
CGI::Application::PhotoGallery::Magick - Image::Magick-based graphics adaptor
SYNOPSIS
use CGI::Application::PhotoGallery::Magick;
my $lib = CGI::Application::PhotoGallery::Magick->new;
my $pngdata = $lib->resize( $file, 100 );
METHODS
new( )
creates a new CGI::Application::PhotoGallery::Magick object.
resize( $file, $size )
Resizes $file
to $size
x$size
with transparent margins.
load( $file )
Loads $file
and returns a GD::Image.
size( $file )
Returns the width and height of $file
.
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.