Table of Contents

Class JpegMetadata

Namespace
SixLabors.ImageSharp.Formats.Jpeg
Assembly
SixLabors.ImageSharp.dll

Provides Jpeg specific metadata information for the image.

public class JpegMetadata : IDeepCloneable
Inheritance
JpegMetadata
Implements
Inherited Members

Constructors

JpegMetadata()

Initializes a new instance of the JpegMetadata class.

public JpegMetadata()

Properties

ColorType

Gets the color type.

public JpegEncodingColor? ColorType { get; }

Property Value

JpegEncodingColor?

Interleaved

Gets the component encoding mode.

public bool? Interleaved { get; }

Property Value

bool?

Remarks

Interleaved encoding mode encodes all color components in a single scan. Non-interleaved encoding mode encodes each color component in a separate scan.

Progressive

Gets the scan encoding mode.

public bool? Progressive { get; }

Property Value

bool?

Remarks

Progressive jpeg images encode component data across multiple scans.

Quality

Gets the encoded quality.

public int Quality { get; }

Property Value

int

Remarks

Note that jpeg image can have different quality for luminance and chrominance components. This property returns maximum value of luma/chroma qualities if both are present.

Methods

DeepClone()

public IDeepCloneable DeepClone()

Returns

IDeepCloneable