image-in-browser
Version:
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
114 lines (113 loc) • 2.85 kB
TypeScript
/**
* Enum representing various JPEG markers.
*
* @format
*/
export declare enum JpegMarker {
/** Start of Frame 0 */
sof0 = 192,
/** Start of Frame 1 */
sof1 = 193,
/** Start of Frame 2 */
sof2 = 194,
/** Start of Frame 3 */
sof3 = 195,
/** Start of Frame 5 */
sof5 = 197,
/** Start of Frame 6 */
sof6 = 198,
/** Start of Frame 7 */
sof7 = 199,
/** JPEG */
jpg = 200,
/** Start of Frame 9 */
sof9 = 201,
/** Start of Frame 10 */
sof10 = 202,
/** Start of Frame 11 */
sof11 = 203,
/** Start of Frame 13 */
sof13 = 205,
/** Start of Frame 14 */
sof14 = 206,
/** Start of Frame 15 */
sof15 = 207,
/** Define Huffman Table */
dht = 196,
/** Define Arithmetic Coding */
dac = 204,
/** Restart 0 */
rst0 = 208,
/** Restart 1 */
rst1 = 209,
/** Restart 2 */
rst2 = 210,
/** Restart 3 */
rst3 = 211,
/** Restart 4 */
rst4 = 212,
/** Restart 5 */
rst5 = 213,
/** Restart 6 */
rst6 = 214,
/** Restart 7 */
rst7 = 215,
/** Start of Image */
soi = 216,
/** End of Image */
eoi = 217,
/** Start of Scan */
sos = 218,
/** Define Quantization Table */
dqt = 219,
/** Define Number of Lines */
dnl = 220,
/** Define Restart Interval */
dri = 221,
/** Define Hierarchical Progression */
dhp = 222,
/** Expand Reference Component */
exp = 223,
/** Application-specific 0 (JFIF, JFXX, CIFF, AVI1, Ocad) */
app0 = 224,
/** Application-specific 1 (EXIF, ExtendedXMP, XMP, QVCI, FLIR) */
app1 = 225,
/** Application-specific 2 (ICC_Profile, FPXR, MPF, PreviewImage) */
app2 = 226,
/** Application-specific 3 (Meta, Stim, PreviewImage) */
app3 = 227,
/** Application-specific 4 (Scalado, FPXR, PreviewImage) */
app4 = 228,
/** Application-specific 5 (RMETA, PreviewImage) */
app5 = 229,
/** Application-specific 6 (EPPIM, NITF, HP_TDHD, GoPro) */
app6 = 230,
/** Application-specific 7 (Pentax, Qualcomm) */
app7 = 231,
/** Application-specific 8 (SPIFF) */
app8 = 232,
/** Application-specific 9 (MediaJukebox) */
app9 = 233,
/** Application-specific 10 (Comment) */
app10 = 234,
/** Application-specific 11 (Jpeg-HDR) */
app11 = 235,
/** Application-specific 12 (PictureInfo, Ducky) */
app12 = 236,
/** Application-specific 13 (Photoshop, Adobe_CM) */
app13 = 237,
/** Application-specific 14 (ADOBE) */
app14 = 238,
/** Application-specific 15 (GraphicConverter) */
app15 = 239,
/** JPEG extension 0 */
jpg0 = 240,
/** JPEG extension 13 */
jpg13 = 253,
/** Comment */
com = 254,
/** Temporary marker */
tem = 1,
/** Error marker */
error = 256
}