Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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%20...



I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: