Accessing image attributes for scaled image

I am working with a new module - Display Anything - to create an image gallery. It returns an array of images that can be used to create the gallery. I can work with the full sized images using their attributes: $URL $Height etc. I can also display resized images e.g. $PaddedImage(80, 80).

What I need to do, and cannot, is retrieve the attributes such as $URL and $Height from a resized image.

In other instances, I have just sub-classed Image to create my own functions. That doesn't seem to be an option here.

Chris,
Thanks for that. Unfortunately PaddedImage doesn't return an object, just an img tag string. I have rejigged my code so i don't need to access the attributes. The alternative would be to use javascript to extract the information from the tag.