Is there a way to dynamically get size of external jpg?

Hey everyone!
I was wondering if it is possible to retrive size/resolution of jpg picture loaded dynamically to flash?
Any one knows anything about this?
Cheers!