Class with static methods for JPEG markers.
This class defines the constants to be used whenever one refers to a JPEG marker. All the methods defined are static, and they all operate on one argument which should be one of the class constants. They will all be denoted by PelJpegMarker in the documentation.
Located in /src/PelJpegMarker.php (line 54)
Returns a description of a JPEG marker.
Check if a byte is a valid JPEG marker.
APP0
= 0xE0
(line 121)
Application segment 0
APP1
= 0xE1
(line 129)
Application segment 1
When a JPEG image contains Exif data, the data will normally be stored in this section and a call to PelJpeg::getExif() will return a PelExif object representing it.
APP2
= 0xE2
(line 131)
Application segment 2
APP3
= 0xE3
(line 133)
Application segment 3
APP4
= 0xE4
(line 135)
Application segment 4
APP5
= 0xE5
(line 137)
Application segment 5
APP6
= 0xE6
(line 139)
Application segment 6
APP7
= 0xE7
(line 141)
Application segment 7
APP8
= 0xE8
(line 143)
Application segment 8
APP9
= 0xE9
(line 145)
Application segment 9
APP10
= 0xEA
(line 147)
Application segment 10
APP11
= 0xEB
(line 149)
Application segment 11
APP12
= 0xEC
(line 151)
Application segment 12
APP13
= 0xED
(line 153)
Application segment 13
APP14
= 0xEE
(line 155)
Application segment 14
APP15
= 0xEF
(line 157)
Application segment 15
COM
= 0xFE
(line 187)
Comment
DAC
= 0xCC
(line 81)
Define arithmetic coding conditioning
DHP
= 0xDE
(line 117)
Define hierarchical progression
DHT
= 0xC4
(line 65)
Define Huffman table
DNL
= 0xDC
(line 113)
Define number of lines
DQT
= 0xDB
(line 111)
Define quantization table
DRI
= 0xDD
(line 115)
Define restart interval
EOI
= 0xD9
(line 107)
End of image
EXP
= 0xDF
(line 119)
Expand reference component
JPG
= 0xC8
(line 73)
Extension
JPG0
= 0xF0
(line 159)
Extension 0
JPG1
= 0xF1
(line 161)
Extension 1
JPG2
= 0xF2
(line 163)
Extension 2
JPG3
= 0xF3
(line 165)
Extension 3
JPG4
= 0xF4
(line 167)
Extension 4
JPG5
= 0xF5
(line 169)
Extension 5
JPG6
= 0xF6
(line 171)
Extension 6
JPG7
= 0xF7
(line 173)
Extension 7
JPG8
= 0xF8
(line 175)
Extension 8
JPG9
= 0xF9
(line 177)
Extension 9
JPG10
= 0xFA
(line 179)
Extension 10
JPG11
= 0xFB
(line 181)
Extension 11
JPG12
= 0xFC
(line 183)
Extension 12
JPG13
= 0xFD
(line 185)
Extension 13
RST0
= 0xD0
(line 89)
Restart 0
RST1
= 0xD1
(line 91)
Restart 1
RST2
= 0xD2
(line 93)
Restart 2
RST3
= 0xD3
(line 95)
Restart 3
RST4
= 0xD4
(line 97)
Restart 4
RST5
= 0xD5
(line 99)
Restart 5
RST6
= 0xD6
(line 101)
Restart 6
RST7
= 0xD7
(line 103)
Restart 7
SOF0
= 0xC0
(line 57)
Encoding (baseline)
SOF1
= 0xC1
(line 59)
Encoding (extended sequential)
SOF2
= 0xC2
(line 61)
Encoding (progressive)
SOF3
= 0xC3
(line 63)
Encoding (lossless)
SOF5
= 0xC5
(line 67)
Encoding (differential sequential)
SOF6
= 0xC6
(line 69)
Encoding (differential progressive)
SOF7
= 0xC7
(line 71)
Encoding (differential lossless)
SOF9
= 0xC9
(line 75)
Encoding (extended sequential, arithmetic)
SOF10
= 0xCA
(line 77)
Encoding (progressive, arithmetic)
SOF11
= 0xCB
(line 79)
Encoding (lossless, arithmetic)
SOF13
= 0xCD
(line 83)
Encoding (differential sequential, arithmetic)
SOF14
= 0xCE
(line 85)
Encoding (differential progressive, arithmetic)
SOF15
= 0xCF
(line 87)
Encoding (differential lossless, arithmetic)
SOI
= 0xD8
(line 105)
Start of image
SOS
= 0xDA
(line 109)
Start of scan
Documentation generated on Thu, 05 May 2011 07:19:22 +0200 by phpDocumentor 1.4.3