Interface IGorgonWicDecodingOptions
Provides options used when decoding a IGorgonImage.
Inherited Members
Namespace: Gorgon.Graphics.Imaging.Codecs
Assembly: Gorgon.Graphics.Imaging.dll
Syntax
public interface IGorgonWicDecodingOptions : IGorgonImageCodecDecodingOptions
Remarks
This particular interface provides common WIC (Windows Imaging Component) specific options for use when encoding an image across multiple image formats.
Properties
| Edit this page View SourceDithering
Property to set or return the type of dithering to use if the codec needs to reduce the bit depth for a pixel format.
Declaration
ImageDithering Dithering { get; set; }
Property Value
Type | Description |
---|---|
ImageDithering |
Remarks
This flag is used to determine which type of dithering algorithm should be used when converting the bit depth for a pixel format to a lower bit depth. If the pixel format of the image is supported natively by the codec, then this value will be ignored.
With dithering applied, the image will visually appear closer to the original by using patterns to simulate a greater number of colors.
Flags
Property to set or return flags used to determine how to handle bit depth conversion for specific formats.
Declaration
WICFlags Flags { get; set; }
Property Value
Type | Description |
---|---|
WICFlags |