In article <[EMAIL PROTECTED]>, Moisés Chicharro <[EMAIL PROTECTED]> wrote:
> I have a perl script which enables users to upload a jpg file to my > webserver from their browser. However, I'd like to reformat the > uploaded jpeg to a certain pixel width and height so that it fits in > with my webpage template (and also to avoid massive files being > uploaded). Is there any way to do this in perl? There are many solutions, but I like Image::Magick. Although I sometimes punt to the convert(1) script, the module has the utilities to resize images. Curiously, the docs aren't in the module: http://www.imagemagick.org/script/perl-magick.php