If getting the pixel dims of a jpeg is out of the question, what about a bitmap??

Cheers
Mafro