in reply to Module for image inspection and manipulation
If you just want the width/height, so you can set them proportionally, take a look at Image::Info (I've never used it myself... I've never needed to automate this)