Parsing jpeg file, SOS marker
问题 I'm having problem with parsing jpeg file. When I hit SOS (start of scan) marker, there are few bytes which meaning I don't understand. In picture bellow, after SOS marker, there are 2 bytes for header length (Ls part on the picture). But what the rest of data on picture mean (for example Ns, Cs1 etc....), and where the pure data starts? 回答1: Cs1 is a components selection index, This refers back to the SOF section (where horizontal and vertical sampling factors are specified) Td1 is the DC