[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.PixelFormat

Class PixelFormat

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

WIC pixel format Guids and helper functions.

public sealed class PixelFormat
Inheritance
object
PixelFormat
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()

Constructors

PixelFormat()

public PixelFormat()

Fields

Format112bpp6ChannelsAlpha

GUID_WICPixelFormat112bpp6ChannelsAlpha

public static readonly Guid Format112bpp6ChannelsAlpha

Field Value

System.Guid

Format112bpp7Channels

GUID_WICPixelFormat112bpp7Channels

public static readonly Guid Format112bpp7Channels

Field Value

System.Guid

Format128bpp7ChannelsAlpha

GUID_WICPixelFormat128bpp7ChannelsAlpha

public static readonly Guid Format128bpp7ChannelsAlpha

Field Value

System.Guid

Format128bpp8Channels

GUID_WICPixelFormat128bpp8Channels

public static readonly Guid Format128bpp8Channels

Field Value

System.Guid

Format128bppPRGBAFloat

GUID_WICPixelFormat128bppPRGBAFloat

public static readonly Guid Format128bppPRGBAFloat

Field Value

System.Guid

Format128bppRGBAFixedPoint

GUID_WICPixelFormat128bppRGBAFixedPoint

public static readonly Guid Format128bppRGBAFixedPoint

Field Value

System.Guid

Format128bppRGBAFloat

GUID_WICPixelFormat128bppRGBAFloat

public static readonly Guid Format128bppRGBAFloat

Field Value

System.Guid

Format128bppRGBFixedPoint

GUID_WICPixelFormat128bppRGBFixedPoint

public static readonly Guid Format128bppRGBFixedPoint

Field Value

System.Guid

Format128bppRGBFloat

GUID_WICPixelFormat128bppRGBFloat

public static readonly Guid Format128bppRGBFloat

Field Value

System.Guid

Format144bpp8ChannelsAlpha

GUID_WICPixelFormat144bpp8ChannelsAlpha

public static readonly Guid Format144bpp8ChannelsAlpha

Field Value

System.Guid

Format16bppBGR555

GUID_WICPixelFormat16bppBGR555

public static readonly Guid Format16bppBGR555

Field Value

System.Guid

Format16bppBGR565

GUID_WICPixelFormat16bppBGR565

public static readonly Guid Format16bppBGR565

Field Value

System.Guid

Format16bppBGRA5551

GUID_WICPixelFormat16bppBGRA5551

public static readonly Guid Format16bppBGRA5551

Field Value

System.Guid

Format16bppCbCr

GUID_WICPixelFormat16bppCbCr

public static readonly Guid Format16bppCbCr

Field Value

System.Guid

Format16bppGray

GUID_WICPixelFormat16bppGray

public static readonly Guid Format16bppGray

Field Value

System.Guid

Format16bppGrayFixedPoint

GUID_WICPixelFormat16bppGrayFixedPoint

public static readonly Guid Format16bppGrayFixedPoint

Field Value

System.Guid

Format16bppGrayHalf

GUID_WICPixelFormat16bppGrayHalf

public static readonly Guid Format16bppGrayHalf

Field Value

System.Guid

Format1bppIndexed

GUID_WICPixelFormat1bppIndexed

public static readonly Guid Format1bppIndexed

Field Value

System.Guid

Format24bpp3Channels

GUID_WICPixelFormat24bpp3Channels

public static readonly Guid Format24bpp3Channels

Field Value

System.Guid

Format24bppBGR

GUID_WICPixelFormat24bppBGR

public static readonly Guid Format24bppBGR

Field Value

System.Guid

Format24bppRGB

GUID_WICPixelFormat24bppRGB

public static readonly Guid Format24bppRGB

Field Value

System.Guid

Format2bppGray

GUID_WICPixelFormat2bppGray

public static readonly Guid Format2bppGray

Field Value

System.Guid

Format2bppIndexed

GUID_WICPixelFormat2bppIndexed

public static readonly Guid Format2bppIndexed

Field Value

System.Guid

Format32bpp3ChannelsAlpha

GUID_WICPixelFormat32bpp3ChannelsAlpha

public static readonly Guid Format32bpp3ChannelsAlpha

Field Value

System.Guid

Format32bpp4Channels

GUID_WICPixelFormat32bpp4Channels

public static readonly Guid Format32bpp4Channels

Field Value

System.Guid

Format32bppBGR

GUID_WICPixelFormat32bppBGR

public static readonly Guid Format32bppBGR

Field Value

System.Guid

Format32bppBGR101010

GUID_WICPixelFormat32bppBGR101010

public static readonly Guid Format32bppBGR101010

Field Value

System.Guid

Format32bppBGRA

GUID_WICPixelFormat32bppBGRA

public static readonly Guid Format32bppBGRA

Field Value

System.Guid

Format32bppCMYK

GUID_WICPixelFormat32bppCMYK

public static readonly Guid Format32bppCMYK

Field Value

System.Guid

Format32bppGrayFixedPoint

GUID_WICPixelFormat32bppGrayFixedPoint

public static readonly Guid Format32bppGrayFixedPoint

Field Value

System.Guid

Format32bppGrayFloat

GUID_WICPixelFormat32bppGrayFloat

public static readonly Guid Format32bppGrayFloat

Field Value

System.Guid

Format32bppPBGRA

GUID_WICPixelFormat32bppPBGRA

public static readonly Guid Format32bppPBGRA

Field Value

System.Guid

Format32bppPRGBA

GUID_WICPixelFormat32bppPRGBA

public static readonly Guid Format32bppPRGBA

Field Value

System.Guid

Format32bppRGB

GUID_WICPixelFormat32bppRGB

public static readonly Guid Format32bppRGB

Field Value

System.Guid

Format32bppRGBA

GUID_WICPixelFormat32bppRGBA

public static readonly Guid Format32bppRGBA

Field Value

System.Guid

Format32bppRGBA1010102

GUID_WICPixelFormat32bppRGBA1010102

public static readonly Guid Format32bppRGBA1010102

Field Value

System.Guid

Format32bppRGBA1010102XR

GUID_WICPixelFormat32bppRGBA1010102XR

public static readonly Guid Format32bppRGBA1010102XR

Field Value

System.Guid

Format32bppRGBE

GUID_WICPixelFormat32bppRGBE

public static readonly Guid Format32bppRGBE

Field Value

System.Guid

Format40bpp4ChannelsAlpha

GUID_WICPixelFormat40bpp4ChannelsAlpha

public static readonly Guid Format40bpp4ChannelsAlpha

Field Value

System.Guid

Format40bpp5Channels

GUID_WICPixelFormat40bpp5Channels

public static readonly Guid Format40bpp5Channels

Field Value

System.Guid

Format40bppCMYKAlpha

GUID_WICPixelFormat40bppCMYKAlpha

public static readonly Guid Format40bppCMYKAlpha

Field Value

System.Guid

Format48bpp3Channels

GUID_WICPixelFormat48bpp3Channels

public static readonly Guid Format48bpp3Channels

Field Value

System.Guid

Format48bpp5ChannelsAlpha

GUID_WICPixelFormat48bpp5ChannelsAlpha

public static readonly Guid Format48bpp5ChannelsAlpha

Field Value

System.Guid

Format48bpp6Channels

GUID_WICPixelFormat48bpp6Channels

public static readonly Guid Format48bpp6Channels

Field Value

System.Guid

Format48bppBGR

GUID_WICPixelFormat48bppBGR

public static readonly Guid Format48bppBGR

Field Value

System.Guid

Format48bppBGRFixedPoint

GUID_WICPixelFormat48bppBGRFixedPoint

public static readonly Guid Format48bppBGRFixedPoint

Field Value

System.Guid

Format48bppRGB

GUID_WICPixelFormat48bppRGB

public static readonly Guid Format48bppRGB

Field Value

System.Guid

Format48bppRGBFixedPoint

GUID_WICPixelFormat48bppRGBFixedPoint

public static readonly Guid Format48bppRGBFixedPoint

Field Value

System.Guid

Format48bppRGBHalf

GUID_WICPixelFormat48bppRGBHalf

public static readonly Guid Format48bppRGBHalf

Field Value

System.Guid

Format4bppGray

GUID_WICPixelFormat4bppGray

public static readonly Guid Format4bppGray

Field Value

System.Guid

Format4bppIndexed

GUID_WICPixelFormat4bppIndexed

public static readonly Guid Format4bppIndexed

Field Value

System.Guid

Format56bpp6ChannelsAlpha

GUID_WICPixelFormat56bpp6ChannelsAlpha

public static readonly Guid Format56bpp6ChannelsAlpha

Field Value

System.Guid

Format56bpp7Channels

GUID_WICPixelFormat56bpp7Channels

public static readonly Guid Format56bpp7Channels

Field Value

System.Guid

Format64bpp3ChannelsAlpha

GUID_WICPixelFormat64bpp3ChannelsAlpha

public static readonly Guid Format64bpp3ChannelsAlpha

Field Value

System.Guid

Format64bpp4Channels

GUID_WICPixelFormat64bpp4Channels

public static readonly Guid Format64bpp4Channels

Field Value

System.Guid

Format64bpp7ChannelsAlpha

GUID_WICPixelFormat64bpp7ChannelsAlpha

public static readonly Guid Format64bpp7ChannelsAlpha

Field Value

System.Guid

Format64bpp8Channels

GUID_WICPixelFormat64bpp8Channels

public static readonly Guid Format64bpp8Channels

Field Value

System.Guid

Format64bppBGRA

GUID_WICPixelFormat64bppBGRA

public static readonly Guid Format64bppBGRA

Field Value

System.Guid

Format64bppBGRAFixedPoint

GUID_WICPixelFormat64bppBGRAFixedPoint

public static readonly Guid Format64bppBGRAFixedPoint

Field Value

System.Guid

Format64bppCMYK

GUID_WICPixelFormat64bppCMYK

public static readonly Guid Format64bppCMYK

Field Value

System.Guid

Format64bppPBGRA

GUID_WICPixelFormat64bppPBGRA

public static readonly Guid Format64bppPBGRA

Field Value

System.Guid

Format64bppPRGBA

GUID_WICPixelFormat64bppPRGBA

public static readonly Guid Format64bppPRGBA

Field Value

System.Guid

Format64bppPRGBAHalf

GUID_WICPixelFormat64bppPRGBAHalf

public static readonly Guid Format64bppPRGBAHalf

Field Value

System.Guid

Format64bppRGB

GUID_WICPixelFormat64bppRGB

public static readonly Guid Format64bppRGB

Field Value

System.Guid

Format64bppRGBA

GUID_WICPixelFormat64bppRGBA

public static readonly Guid Format64bppRGBA

Field Value

System.Guid

Format64bppRGBAFixedPoint

GUID_WICPixelFormat64bppRGBAFixedPoint

public static readonly Guid Format64bppRGBAFixedPoint

Field Value

System.Guid

Format64bppRGBAHalf

GUID_WICPixelFormat64bppRGBAHalf

public static readonly Guid Format64bppRGBAHalf

Field Value

System.Guid

Format64bppRGBFixedPoint

GUID_WICPixelFormat64bppRGBFixedPoint

public static readonly Guid Format64bppRGBFixedPoint

Field Value

System.Guid

Format64bppRGBHalf

GUID_WICPixelFormat64bppRGBHalf

public static readonly Guid Format64bppRGBHalf

Field Value

System.Guid

Format72bpp8ChannelsAlpha

GUID_WICPixelFormat72bpp8ChannelsAlpha

public static readonly Guid Format72bpp8ChannelsAlpha

Field Value

System.Guid

Format80bpp4ChannelsAlpha

GUID_WICPixelFormat80bpp4ChannelsAlpha

public static readonly Guid Format80bpp4ChannelsAlpha

Field Value

System.Guid

Format80bpp5Channels

GUID_WICPixelFormat80bpp5Channels

public static readonly Guid Format80bpp5Channels

Field Value

System.Guid

Format80bppCMYKAlpha

GUID_WICPixelFormat80bppCMYKAlpha

public static readonly Guid Format80bppCMYKAlpha

Field Value

System.Guid

Format8bppAlpha

GUID_WICPixelFormat8bppAlpha

public static readonly Guid Format8bppAlpha

Field Value

System.Guid

Format8bppCb

GUID_WICPixelFormat8bppCb

public static readonly Guid Format8bppCb

Field Value

System.Guid

Format8bppCr

GUID_WICPixelFormat8bppCr

public static readonly Guid Format8bppCr

Field Value

System.Guid

Format8bppGray

GUID_WICPixelFormat8bppGray

public static readonly Guid Format8bppGray

Field Value

System.Guid

Format8bppIndexed

GUID_WICPixelFormat8bppIndexed

public static readonly Guid Format8bppIndexed

Field Value

System.Guid

Format8bppY

GUID_WICPixelFormat8bppY

public static readonly Guid Format8bppY

Field Value

System.Guid

Format96bpp5ChannelsAlpha

GUID_WICPixelFormat96bpp5ChannelsAlpha

public static readonly Guid Format96bpp5ChannelsAlpha

Field Value

System.Guid

Format96bpp6Channels

GUID_WICPixelFormat96bpp6Channels

public static readonly Guid Format96bpp6Channels

Field Value

System.Guid

Format96bppRGBFixedPoint

GUID_WICPixelFormat96bppRGBFixedPoint

public static readonly Guid Format96bppRGBFixedPoint

Field Value

System.Guid

Format96bppRGBFloat

GUID_WICPixelFormat96bppRGBFloat

public static readonly Guid Format96bppRGBFloat

Field Value

System.Guid

FormatBlackWhite

GUID_WICPixelFormatBlackWhite

public static readonly Guid FormatBlackWhite

Field Value

System.Guid

FormatDontCare

GUID_WICPixelFormatDontCare

public static readonly Guid FormatDontCare

Field Value

System.Guid

Methods

GetBitsPerPixel(Guid)

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

public static int GetBitsPerPixel(Guid guid)

Parameters

guid System.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 System.Guid

The pixel format guid.

width int

The width.

Returns

int

The number of bytes per row.