CGI::Application::PhotoGallery::GD - GD-based graphics adaptor
use CGI::Application::PhotoGallery::GD; my $lib = CGI::Application::PhotoGallery::GD->new; my $pngdata = $lib->resize( $file, 100 );
creates a new CGI::Application::PhotoGallery::GD object.
Resizes $file to $sizex$size with transparent margins.
$file
$size
Loads $file and returns a GD::Image.
Returns the width and height of $file.
GD
Brian Cassidy <bricas@cpan.org>
Copyright 2005 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CGI::Application::PhotoGallery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Application::PhotoGallery
CPAN shell
perl -MCPAN -e shell install CGI::Application::PhotoGallery
For more information on module installation, please visit the detailed CPAN module installation guide.