Table of Contents

Class JpegFormat

Namespace
Egami.Formats.Jpeg
Assembly
Egami.dll

The JPEG format (JFIF and EXIF files), registered in Default.

public static class JpegFormat
Inheritance
JpegFormat
Inherited Members

Examples

using FileStream output = File.Create("duck-q85.jpg");
image.Save(output, JpegFormat.Info, new JpegWriterOptions
{
    Quality = 85,                                  // 75 by default, on libjpeg's scale
    Subsampling = ChromaSubsampling.Subsample444,  // 4:2:0 by default
    OptimizeHuffman = true,                        // a few percent smaller, a little slower
});

Properties

Info

Gets the format's registration: name, MIME type, extensions, signature, reader and writer.

public static FormatInfo Info { get; }

Property Value

FormatInfo