| CGI-Application-PhotoGallery documentation | view source | Contained in the CGI-Application-PhotoGallery distribution. |
CGI::Application::PhotoGallery::Magick - Image::Magick-based graphics adaptor
use CGI::Application::PhotoGallery::Magick;
my $lib = CGI::Application::PhotoGallery::Magick->new;
my $pngdata = $lib->resize( $file, 100 );
creates a new CGI::Application::PhotoGallery::Magick object.
Resizes $file to $sizex$size with transparent margins.
Loads $file and returns a GD::Image.
Returns the width and height of $file.
Brian Cassidy <bricas@cpan.org>
Copyright 2003-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| CGI-Application-PhotoGallery documentation | view source | Contained in the CGI-Application-PhotoGallery distribution. |