Given a jpeg file (at some url)
How can I get the header info of that jpeg? specifically the height and with of it? I dont want to download the whole file to memory, just get header info to determine height and width.
Thanks
Given a jpeg file (at some url)
How can I get the header info of that jpeg? specifically the height and with of it? I dont want to download the whole file to memory, just get header info to determine height and width.
Thanks
In addition to the SO link in the comment above, you may want to check out this CodeProject article. Admittedly, it is a little older, but probably gives you the information you need.
Be sure to read the comments at the bottom of the article.