samp-scale.cgi - sample CGI that takes an uploaded image to make a new image using Imager
Copy samp-scale.html to your document tree. Copy samp-scale.cgi to your /cgi-bin Browse to samp-scale.html in your browser Select an image file Click on "Scale Image"
This is a sample CGI program that accepts an image file from the browser.
Please read "Parsing an image posted via CGI" in Imager::Cookbook for cautions and explanations.
Tony Cook <tonyc@cpan.org>
$Revision$
To install Imager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager
CPAN shell
perl -MCPAN -e shell install Imager
For more information on module installation, please visit the detailed CPAN module installation guide.