Open JPEG file format parsing with text

Source: Internet
Author: User

The JFIF file format uses the JPEG standard directly for many of the tags defined by the application, so the JFIF format becomes the de facto standard for JPEG file interchange formats. Each token of a JPEG is made up of 2 bytes, and the first byte is a fixed value of 0xFF. You can also add an unlimited number of 0xFF padding bytes (fill byte) before each tag. Here are 8 of these tags:

SOI 0xd8 Image Start

APP0 0xe0 JFIF Application Data block

APPN 0XE1-0XEF Other Application data blocks (n, 1~15)

DQT 0xDB Quantization meter

SOF0 0xc0 Frame Start

DHT 0xc4 Hoffman (Huffman) Table

SOS 0xDA Scan Line started

EOI 0xd9 Image End

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.