Parsing JPEG file format: Format of entropy-coded segment (ECS) segments?

Posted by me2 on Stack Overflow See other posts from Stack Overflow or by me2
Published on 2010-03-18T01:59:46Z Indexed on 2010/03/18 2:01 UTC
Read the original article Hit count: 391

Filed under:
|
|

I'm having difficulty understanding the ITU-T T.81 spec for the JPEG file format. Hopefully someone else here has tried to parse JPEG files and/or knows about the details of this file format.

The spec indiates that the ECS0 segment starts after the SOS segment but I can't find where in the spec it actually talks about the format of the ECS0 segment or how do detect its start. Simple JPEG implementations online are of limited help because they assume many things about the JPEGs they parse.

Can anyone point me in the right direction?

© Stack Overflow or respective owner

Related posts about jpeg

Related posts about file