How can I determine the image size (height and width) of a .jpg file before loading it. I know this is in the file header, but I don't know where and how it is coded. Thanks for hints. JM