Class JpegMetadata
Provides Jpeg specific metadata information for the image.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Jpeg
Assembly: SixLabors.ImageSharp.dll
Syntax
public class JpegMetadata : IDeepCloneable
Constructors
| Edit this page View SourceJpegMetadata()
Initializes a new instance of the JpegMetadata class.
Declaration
public JpegMetadata()
Properties
| Edit this page View SourceColorType
Gets the color type.
Declaration
public JpegEncodingColor? ColorType { get; }
Property Value
Type | Description |
---|---|
JpegEncodingColor? |
Interleaved
Gets the component encoding mode.
Declaration
public bool? Interleaved { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public bool? Progressive { get; }
Property Value
Type | Description |
---|---|
bool? |
Remarks
Progressive jpeg images encode component data across multiple scans.
Quality
Gets the encoded quality.
Declaration
public int Quality { get; }
Property Value
Type | Description |
---|---|
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
| Edit this page View SourceDeepClone()
Creates a new object that is a deep copy of the current instance.
Declaration
public IDeepCloneable DeepClone()
Returns
Type | Description |
---|---|
IDeepCloneable | The IDeepCloneable. |