in reply to Manipulating Images with Perl

This isn't the fanciest of ways, but it does the job easily without needing any new Perl modules. Just install ImageMagick, and then use its "mogrify" command-line utility from Perl:
system("mogrify -quality 50 -geometry 80x80 *.JPG");