You could load the image into an IPictureDisp to get the info.
I posted some code a little while back for this