Table of Contents

Class PixelFormat

Namespace
SharpDX.WIC
Assembly
SharpDX.Direct2D1.dll

Functions

public sealed class PixelFormat
Inheritance
PixelFormat
Inherited Members

Constructors

PixelFormat()

public PixelFormat()

Fields

Format112bpp6ChannelsAlpha

Constant Format112bpp6ChannelsAlpha

public static readonly Guid Format112bpp6ChannelsAlpha

Field Value

Guid

Format112bpp7Channels

Constant Format112bpp7Channels

public static readonly Guid Format112bpp7Channels

Field Value

Guid

Format128bpp7ChannelsAlpha

Constant Format128bpp7ChannelsAlpha

public static readonly Guid Format128bpp7ChannelsAlpha

Field Value

Guid

Format128bpp8Channels

Constant Format128bpp8Channels

public static readonly Guid Format128bpp8Channels

Field Value

Guid

Format128bppPRGBAFloat

Constant Format128bppPRGBAFloat

public static readonly Guid Format128bppPRGBAFloat

Field Value

Guid

Format128bppRGBAFixedPoint

Constant Format128bppRGBAFixedPoint

public static readonly Guid Format128bppRGBAFixedPoint

Field Value

Guid

Format128bppRGBAFloat

Constant Format128bppRGBAFloat

public static readonly Guid Format128bppRGBAFloat

Field Value

Guid

Format128bppRGBFixedPoint

Constant Format128bppRGBFixedPoint

public static readonly Guid Format128bppRGBFixedPoint

Field Value

Guid

Format128bppRGBFloat

Constant Format128bppRGBFloat

public static readonly Guid Format128bppRGBFloat

Field Value

Guid

Format144bpp8ChannelsAlpha

Constant Format144bpp8ChannelsAlpha

public static readonly Guid Format144bpp8ChannelsAlpha

Field Value

Guid

Format16bppBGR555

Constant Format16bppBGR555

public static readonly Guid Format16bppBGR555

Field Value

Guid

Format16bppBGR565

Constant Format16bppBGR565

public static readonly Guid Format16bppBGR565

Field Value

Guid

Format16bppBGRA5551

Constant Format16bppBGRA5551

public static readonly Guid Format16bppBGRA5551

Field Value

Guid

Format16bppCbCr

Constant Format16bppCbCr

public static readonly Guid Format16bppCbCr

Field Value

Guid

Format16bppCbQuantizedDctCoefficients

Constant Format16bppCbQuantizedDctCoefficients

public static readonly Guid Format16bppCbQuantizedDctCoefficients

Field Value

Guid

Format16bppCrQuantizedDctCoefficients

Constant Format16bppCrQuantizedDctCoefficients

public static readonly Guid Format16bppCrQuantizedDctCoefficients

Field Value

Guid

Format16bppGray

Constant Format16bppGray

public static readonly Guid Format16bppGray

Field Value

Guid

Format16bppGrayFixedPoint

Constant Format16bppGrayFixedPoint

public static readonly Guid Format16bppGrayFixedPoint

Field Value

Guid

Format16bppGrayHalf

Constant Format16bppGrayHalf

public static readonly Guid Format16bppGrayHalf

Field Value

Guid

Format16bppYQuantizedDctCoefficients

Constant Format16bppYQuantizedDctCoefficients

public static readonly Guid Format16bppYQuantizedDctCoefficients

Field Value

Guid

Format1bppIndexed

Constant Format1bppIndexed

public static readonly Guid Format1bppIndexed

Field Value

Guid

Format24bpp3Channels

Constant Format24bpp3Channels

public static readonly Guid Format24bpp3Channels

Field Value

Guid

Format24bppBGR

Constant Format24bppBGR

public static readonly Guid Format24bppBGR

Field Value

Guid

Format24bppRGB

Constant Format24bppRGB

public static readonly Guid Format24bppRGB

Field Value

Guid

Format2bppGray

Constant Format2bppGray

public static readonly Guid Format2bppGray

Field Value

Guid

Format2bppIndexed

Constant Format2bppIndexed

public static readonly Guid Format2bppIndexed

Field Value

Guid

Format32bpp3ChannelsAlpha

Constant Format32bpp3ChannelsAlpha

public static readonly Guid Format32bpp3ChannelsAlpha

Field Value

Guid

Format32bpp4Channels

Constant Format32bpp4Channels

public static readonly Guid Format32bpp4Channels

Field Value

Guid

Format32bppBGR

Constant Format32bppBGR

public static readonly Guid Format32bppBGR

Field Value

Guid

Format32bppBGR101010

Constant Format32bppBGR101010

public static readonly Guid Format32bppBGR101010

Field Value

Guid

Format32bppBGRA

Constant Format32bppBGRA

public static readonly Guid Format32bppBGRA

Field Value

Guid

Format32bppCMYK

Constant Format32bppCMYK

public static readonly Guid Format32bppCMYK

Field Value

Guid

Format32bppGrayFixedPoint

Constant Format32bppGrayFixedPoint

public static readonly Guid Format32bppGrayFixedPoint

Field Value

Guid

Format32bppGrayFloat

Constant Format32bppGrayFloat

public static readonly Guid Format32bppGrayFloat

Field Value

Guid

Format32bppPBGRA

Constant Format32bppPBGRA

public static readonly Guid Format32bppPBGRA

Field Value

Guid

Format32bppPRGBA

Constant Format32bppPRGBA

public static readonly Guid Format32bppPRGBA

Field Value

Guid

Format32bppRGB

Constant Format32bppRGB

public static readonly Guid Format32bppRGB

Field Value

Guid

Format32bppRGBA

Constant Format32bppRGBA

public static readonly Guid Format32bppRGBA

Field Value

Guid

Format32bppRGBA1010102

Constant Format32bppRGBA1010102

public static readonly Guid Format32bppRGBA1010102

Field Value

Guid

Format32bppRGBA1010102XR

Constant Format32bppRGBA1010102XR

public static readonly Guid Format32bppRGBA1010102XR

Field Value

Guid

Format32bppRGBE

Constant Format32bppRGBE

public static readonly Guid Format32bppRGBE

Field Value

Guid

Format40bpp4ChannelsAlpha

Constant Format40bpp4ChannelsAlpha

public static readonly Guid Format40bpp4ChannelsAlpha

Field Value

Guid

Format40bpp5Channels

Constant Format40bpp5Channels

public static readonly Guid Format40bpp5Channels

Field Value

Guid

Format40bppCMYKAlpha

Constant Format40bppCMYKAlpha

public static readonly Guid Format40bppCMYKAlpha

Field Value

Guid

Format48bpp3Channels

Constant Format48bpp3Channels

public static readonly Guid Format48bpp3Channels

Field Value

Guid

Format48bpp5ChannelsAlpha

Constant Format48bpp5ChannelsAlpha

public static readonly Guid Format48bpp5ChannelsAlpha

Field Value

Guid

Format48bpp6Channels

Constant Format48bpp6Channels

public static readonly Guid Format48bpp6Channels

Field Value

Guid

Format48bppBGR

Constant Format48bppBGR

public static readonly Guid Format48bppBGR

Field Value

Guid

Format48bppBGRFixedPoint

Constant Format48bppBGRFixedPoint

public static readonly Guid Format48bppBGRFixedPoint

Field Value

Guid

Format48bppRGB

Constant Format48bppRGB

public static readonly Guid Format48bppRGB

Field Value

Guid

Format48bppRGBFixedPoint

Constant Format48bppRGBFixedPoint

public static readonly Guid Format48bppRGBFixedPoint

Field Value

Guid

Format48bppRGBHalf

Constant Format48bppRGBHalf

public static readonly Guid Format48bppRGBHalf

Field Value

Guid

Format4bppGray

Constant Format4bppGray

public static readonly Guid Format4bppGray

Field Value

Guid

Format4bppIndexed

Constant Format4bppIndexed

public static readonly Guid Format4bppIndexed

Field Value

Guid

Format56bpp6ChannelsAlpha

Constant Format56bpp6ChannelsAlpha

public static readonly Guid Format56bpp6ChannelsAlpha

Field Value

Guid

Format56bpp7Channels

Constant Format56bpp7Channels

public static readonly Guid Format56bpp7Channels

Field Value

Guid

Format64bpp3ChannelsAlpha

Constant Format64bpp3ChannelsAlpha

public static readonly Guid Format64bpp3ChannelsAlpha

Field Value

Guid

Format64bpp4Channels

Constant Format64bpp4Channels

public static readonly Guid Format64bpp4Channels

Field Value

Guid

Format64bpp7ChannelsAlpha

Constant Format64bpp7ChannelsAlpha

public static readonly Guid Format64bpp7ChannelsAlpha

Field Value

Guid

Format64bpp8Channels

Constant Format64bpp8Channels

public static readonly Guid Format64bpp8Channels

Field Value

Guid

Format64bppBGRA

Constant Format64bppBGRA

public static readonly Guid Format64bppBGRA

Field Value

Guid

Format64bppBGRAFixedPoint

Constant Format64bppBGRAFixedPoint

public static readonly Guid Format64bppBGRAFixedPoint

Field Value

Guid

Format64bppCMYK

Constant Format64bppCMYK

public static readonly Guid Format64bppCMYK

Field Value

Guid

Format64bppPBGRA

Constant Format64bppPBGRA

public static readonly Guid Format64bppPBGRA

Field Value

Guid

Format64bppPRGBA

Constant Format64bppPRGBA

public static readonly Guid Format64bppPRGBA

Field Value

Guid

Format64bppPRGBAHalf

Constant Format64bppPRGBAHalf

public static readonly Guid Format64bppPRGBAHalf

Field Value

Guid

Format64bppRGB

Constant Format64bppRGB

public static readonly Guid Format64bppRGB

Field Value

Guid

Format64bppRGBA

Constant Format64bppRGBA

public static readonly Guid Format64bppRGBA

Field Value

Guid

Format64bppRGBAFixedPoint

Constant Format64bppRGBAFixedPoint

public static readonly Guid Format64bppRGBAFixedPoint

Field Value

Guid

Format64bppRGBAHalf

Constant Format64bppRGBAHalf

public static readonly Guid Format64bppRGBAHalf

Field Value

Guid

Format64bppRGBFixedPoint

Constant Format64bppRGBFixedPoint

public static readonly Guid Format64bppRGBFixedPoint

Field Value

Guid

Format64bppRGBHalf

Constant Format64bppRGBHalf

public static readonly Guid Format64bppRGBHalf

Field Value

Guid

Format72bpp8ChannelsAlpha

Constant Format72bpp8ChannelsAlpha

public static readonly Guid Format72bpp8ChannelsAlpha

Field Value

Guid

Format80bpp4ChannelsAlpha

Constant Format80bpp4ChannelsAlpha

public static readonly Guid Format80bpp4ChannelsAlpha

Field Value

Guid

Format80bpp5Channels

Constant Format80bpp5Channels

public static readonly Guid Format80bpp5Channels

Field Value

Guid

Format80bppCMYKAlpha

Constant Format80bppCMYKAlpha

public static readonly Guid Format80bppCMYKAlpha

Field Value

Guid

Format8bppAlpha

Constant Format8bppAlpha

public static readonly Guid Format8bppAlpha

Field Value

Guid

Format8bppCb

Constant Format8bppCb

public static readonly Guid Format8bppCb

Field Value

Guid

Format8bppCr

Constant Format8bppCr

public static readonly Guid Format8bppCr

Field Value

Guid

Format8bppGray

Constant Format8bppGray

public static readonly Guid Format8bppGray

Field Value

Guid

Format8bppIndexed

Constant Format8bppIndexed

public static readonly Guid Format8bppIndexed

Field Value

Guid

Format8bppY

Constant Format8bppY

public static readonly Guid Format8bppY

Field Value

Guid

Format96bpp5ChannelsAlpha

Constant Format96bpp5ChannelsAlpha

public static readonly Guid Format96bpp5ChannelsAlpha

Field Value

Guid

Format96bpp6Channels

Constant Format96bpp6Channels

public static readonly Guid Format96bpp6Channels

Field Value

Guid

Format96bppRGBFixedPoint

Constant Format96bppRGBFixedPoint

public static readonly Guid Format96bppRGBFixedPoint

Field Value

Guid

Format96bppRGBFloat

Constant Format96bppRGBFloat

public static readonly Guid Format96bppRGBFloat

Field Value

Guid

FormatBlackWhite

Constant FormatBlackWhite

public static readonly Guid FormatBlackWhite

Field Value

Guid

FormatDontCare

Constant FormatDontCare

public static readonly Guid FormatDontCare

Field Value

Guid

Methods

GetBitsPerPixel(Guid)

Gets the number of bits per pixel for a particular pixel format.

public static int GetBitsPerPixel(Guid guid)

Parameters

guid Guid

The pixel format guid.

Returns

int

The number of bits per pixel. If the pixel format guid is invalid, returns 0

GetStride(Guid, int)

Gets the stride in bytes from a pixel format and a width..

public static int GetStride(Guid guid, int width)

Parameters

guid Guid

The pixel format guid.

width int

The width.

Returns

int

The number of bytes per row.