JPEG compressed image data contains two classes of segments: (i) entropy coded segments, representing 16???16 blocks of the image, and (ii) markers or marker segments, which contain header information, transformation and quantization tables, and other information required for the JPEG decoder to interpret and decode the entropy coded image data.