Class GorgonCodecBmp
A codec to handle read/writing of BMP files.
Inheritance
GorgonCodecBmp
Inherited Members
Namespace: Gorgon.Graphics.Imaging.Codecs
Assembly: Gorgon.Graphics.Imaging.dll
Syntax
public sealed class GorgonCodecBmp : GorgonCodecWic<IGorgonWicEncodingOptions, IGorgonWicDecodingOptions>, IGorgonImageCodec, IGorgonNamedObject
Remarks
This codec will read and write lossless compressed files using the Windows Bitmap (BMP) format.
This codec supports the following pixel formats:
- B8G8R8X8_UNorm
- B8G8R8A8_UNorm (Has alpha channel support)
- R8G8B8A8_UNorm (Alpha channel is ignored)
- B5G6R5_UNorm
important
This codec requires the Windows Imaging Components (WIC) to be installed for the operating system.
Constructors
| Edit this page View SourceGorgonCodecBmp()
Initializes a new instance of the GorgonCodecBmp class.
Declaration
public GorgonCodecBmp()
Properties
| Edit this page View SourceSupportedPixelFormats
Property to return the supported pixel formats for this codec.
Declaration
public override IReadOnlyList<BufferFormat> SupportedPixelFormats { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<BufferFormat> |