Paper Office
paper-docxAPI referenceimage.constants

JPEG_MARKER_CODE

paper-docx 0.2.0 API reference

JPEG marker codes.

Attributes

APP0

attributeAPP0
= b'\xe0'

APP1

attributeAPP1
= b'\xe1'

APP2

attributeAPP2
= b'\xe2'

APP3

attributeAPP3
= b'\xe3'

APP4

attributeAPP4
= b'\xe4'

APP5

attributeAPP5
= b'\xe5'

APP6

attributeAPP6
= b'\xe6'

APP7

attributeAPP7
= b'\xe7'

APP8

attributeAPP8
= b'\xe8'

APP9

attributeAPP9
= b'\xe9'

APPA

attributeAPPA
= b'\xea'

APPB

attributeAPPB
= b'\xeb'

APPC

attributeAPPC
= b'\xec'

APPD

attributeAPPD
= b'\xed'

APPE

attributeAPPE
= b'\xee'

APPF

attributeAPPF
= b'\xef'

DAC

attributeDAC
= b'\xcc'

DHP

attributeDHP
= b'\xde'

DHT

attributeDHT
= b'\xc4'

DNL

attributeDNL
= b'\xdc'

DQT

attributeDQT
= b'\xdb'

DRI

attributeDRI
= b'\xdd'

EOI

attributeEOI
= b'\xd9'

EXP

attributeEXP
= b'\xdf'

JPG

attributeJPG
= b'\xc8'

RST0

attributeRST0
= b'\xd0'

RST1

attributeRST1
= b'\xd1'

RST2

attributeRST2
= b'\xd2'

RST3

attributeRST3
= b'\xd3'

RST4

attributeRST4
= b'\xd4'

RST5

attributeRST5
= b'\xd5'

RST6

attributeRST6
= b'\xd6'

RST7

attributeRST7
= b'\xd7'

SOF0

attributeSOF0
= b'\xc0'

SOF1

attributeSOF1
= b'\xc1'

SOF2

attributeSOF2
= b'\xc2'

SOF3

attributeSOF3
= b'\xc3'

SOF5

attributeSOF5
= b'\xc5'

SOF6

attributeSOF6
= b'\xc6'

SOF7

attributeSOF7
= b'\xc7'

SOF9

attributeSOF9
= b'\xc9'

SOFA

attributeSOFA
= b'\xca'

SOFB

attributeSOFB
= b'\xcb'

SOFD

attributeSOFD
= b'\xcd'

SOFE

attributeSOFE
= b'\xce'

SOFF

attributeSOFF
= b'\xcf'

SOF_MARKER_CODES

attributeSOF_MARKER_CODES
= (SOF0, SOF1, SOF2, SOF3, SOF5, SOF6, SOF7, SOF9, SOFA, SOFB, SOFD, SOFE, SOFF)

SOI

attributeSOI
= b'\xd8'

SOS

attributeSOS
= b'\xda'

STANDALONE_MARKERS

attributeSTANDALONE_MARKERS
= (TEM, SOI, EOI, RST0, RST1, RST2, RST3, RST4, RST5, RST6, RST7)

TEM

attributeTEM
= b'\x01'

marker_names

attributemarker_names
= {b'\x00': 'UNKNOWN', b'\xc0': 'SOF0', b'\xc2': 'SOF2', b'\xc4': 'DHT', b'\xda': 'SOS', b'\xd8': 'SOI', b'\xd9': 'EOI', b'\xdb': 'DQT', b'\xe0': 'APP0', b'\xe1': 'APP1', b'\xe2': 'APP2', b'\xed': 'APP13', b'\xee': 'APP14'}

Functions

is_standalone

funcis_standalone(marker_code)
parammarker_code

On this page