in reply to Image Size
Extract the appropriate parts of Image::Info and embed them in your script. It's a small module.