Yes,
Image::Magick will do this easily. I recommend actually, storing the full size image and hiding the resized image behind a webserver call (that might look like the all to an image or a RESTful
GET call in an
<img src...> tag. Note,
image scale attacks exist, but I only mention them because they are an interesting adversary parlay against the bort.