JPEG file formats

JIF - JPEG Interchange Format (Annex B of ITU T.81 1992)

                 |                                             |
+-----+----+-----+----+-----+----------------------------------+-----+ 
| SOI | [] | SOF | [] | SOS |ECS.....RST.ECS......RST.ECS......| EOI | 
+-----+----+-----+----+-----+----------------------------------+-----+  
                 |                                             |

JFIF - based on JIF

Exif - based on JIF