Namespace Egami.Formats.Jpeg
Classes
- JpegComponent
One component of a JPEG frame and its sampling factors.
- JpegDetails
Facts about a decoded JPEG that have no general home in RasterMetadata. Read-only facts; not written.
- JpegFormat
The JPEG format (JFIF and EXIF files), registered in Default.
- JpegLosslessOptions
How a lossless JPEG (T.81 annex H; SOF3, or SOF11 with Arithmetic) is written: no DCT and no quantization, each sample predicted from its neighbors and the difference coded, so the samples come back exactly. Set as Lossless.
- JpegLosslessWriter
Writes lossless JPEG (ITU-T T.81 annex H, SOF3 or SOF11) from samples that are not pixels: TIFF compression 7 strips and tiles, DNG's sensor tiles and any other format that stores lossless JPEG streams. The samples are coded exactly as saving the same samples as pixels with JpegLosslessOptions codes them.
- JpegReaderOptions
Options for reading JPEG, on top of the general ReaderOptions.
- JpegTransform
Rotates, flips, crops and drops the color of JPEG files without decoding them to pixels, so nothing is lost: the quantized DCT coefficients are moved and sign-flipped block by block, as
jpegtrandoes, and coded again. Quantization tables and chroma subsampling stay as they were. Every mode the reader takes works except lossless JPEG, which has no coefficients.
- JpegTransformOptions
Options for JpegTransform: the rotation or flip, a crop, dropping color, how partial edge blocks are handled, how the result is coded and whether metadata is copied. The defaults copy the image unchanged, with optimized Huffman tables.
- JpegTransformResult
What a lossless JPEG transform produced: the size of the result and what was repaired or left out on the way.
- JpegWriterOptions
Options for writing JPEG. The defaults are libjpeg-turbo's
cjpegdefaults: quality 75, 4:2:0 and the standard Huffman tables of T.81 Annex K, so files compare one to one.
- MpfData
A JPEG file's Multi-Picture Format index (CIPA DC-007): the images the file holds after its primary image, such as large previews, stereo views or an HDR gain map. LoadAll(Stream, EgamiContext?, ReaderOptions?) loads each JPEG image it lists.
- MpfImage
One image of a Multi-Picture Format file: its MP entry, with the offset resolved to the start of the file.
Enums
- ChromaSubsampling
How the chroma (Cb and Cr) components are sampled relative to luma.
- JpegColorSpace
The color model a JPEG's components are stored in.
- JpegColorType
Which components a JPEG is written with.
- JpegTransformEdges
What a lossless transform does with the blocks at the right or bottom edge when the image is not a whole number of MCUs (8 or 16 pixels) across or down, so those blocks cannot move to the other side intact.
- JpegTransformOperation
The rotation or flip a lossless JPEG transform applies, in the terms of
jpegtran.
- MpfImageType
What an image of a Multi-Picture Format file is, from its MP entry (CIPA DC-007, and the gain map type CIPA added later).