For a particular reason I am wanting to extract the header info from a jpeg which has been loaded into a byte array.
To find the length of the header I have been comparing the bytes of different jpegs.
The common denominator is that the 1st 623 bytes of each image have the same byte value.
These jpegs are of the same height, width, resolution but of different images/scenes.
Is it really this simplistic? Are the 1st 623 the common header between all assuming that the header does not contain the length of each image in bytes?