my $im = Image::Magick->new; $im->Read('file.bmp'); $im->Scale(geometry => '30x30'); # make a thumbnail, lol $im->Write('file.jpg');