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
| Improve this Doc View SourceJpegMetadata()
Initializes a new instance of the JpegMetadata class.
Declaration
public JpegMetadata()
Properties
| Improve this Doc View SourceColorType
Gets or sets the color type.
Declaration
public JpegColorType? ColorType { get; set; }
Property Value
Type | Description |
---|---|
Nullable<JpegColorType> |
Quality
Gets or sets the encoded quality.
Declaration
public int Quality { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Note that jpeg image can have different quality for luminance and chrominance components. This property returns maximum value of luma/chroma qualities.
Methods
| Improve this Doc 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. |