3 ms·
As someone who has written a JPEG decoder, I am compelled to say that you are wrong, and the width and height are stored in the SOF marker segment. http://vip.
by userbinator 6y ago
As someone who has written a JPEG decoder, I am compelled to say that you are wrong, and the width and height are stored in the SOF marker segment.
http://vip.sugovica.hu/Sardi/kepnezo/JPEG%20File%20Layout%20and%20Format.htm http://vip.sugovica.hu/Sardi/kepnezo/JPEG%20File%20Layout%20...
- user-the-name 6y agoI might be misremembering, but at least, SOF does not tell you what is actually in the channels of the image, so it is not enough to figure out how to actually display an image.