// The first marker of all JPEG files is StartOfImage. static constexpr uint8_t kJpegMarkerStartOfImage = 0xD8;
// The last marker of all JPEG files (excluding auxiliary data, e.g, MPF images) is EndOfImage. static constexpr uint8_t kJpegMarkerEndOfImage = 0xD9;
// The header of a JPEG file is the data in all segments before the first StartOfScan. static constexpr uint8_t kJpegMarkerStartOfScan = 0xDA;
// Metadata and auxiliary images are stored in the APP1 through APP15 markers. static constexpr uint8_t kJpegMarkerAPP0 = 0xE0;
// The number of bytes in a marker code is two. The first byte is all marker codes is 0xFF. static constexpr size_t kJpegMarkerCodeSize = 2;
// The number of bytes used to specify the length of a segment's parameters is two. This length // value includes these two bytes. static constexpr size_t kJpegSegmentParameterLengthSize = 2;
// The first three bytes of all JPEG files is a StartOfImage marker (two bytes) followed by the // first byte of the next marker. static constexpr uint8_t kJpegSig[] = {0xFF, kJpegMarkerStartOfImage, 0xFF};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.