Class PixelFormat
Functions
public sealed class PixelFormat
- Inheritance
-
PixelFormat
- Inherited Members
Constructors
PixelFormat()
public PixelFormat()
Fields
Format112bpp6ChannelsAlpha
Constant Format112bpp6ChannelsAlpha
public static readonly Guid Format112bpp6ChannelsAlpha
Field Value
Format112bpp7Channels
Constant Format112bpp7Channels
public static readonly Guid Format112bpp7Channels
Field Value
Format128bpp7ChannelsAlpha
Constant Format128bpp7ChannelsAlpha
public static readonly Guid Format128bpp7ChannelsAlpha
Field Value
Format128bpp8Channels
Constant Format128bpp8Channels
public static readonly Guid Format128bpp8Channels
Field Value
Format128bppPRGBAFloat
Constant Format128bppPRGBAFloat
public static readonly Guid Format128bppPRGBAFloat
Field Value
Format128bppRGBAFixedPoint
Constant Format128bppRGBAFixedPoint
public static readonly Guid Format128bppRGBAFixedPoint
Field Value
Format128bppRGBAFloat
Constant Format128bppRGBAFloat
public static readonly Guid Format128bppRGBAFloat
Field Value
Format128bppRGBFixedPoint
Constant Format128bppRGBFixedPoint
public static readonly Guid Format128bppRGBFixedPoint
Field Value
Format128bppRGBFloat
Constant Format128bppRGBFloat
public static readonly Guid Format128bppRGBFloat
Field Value
Format144bpp8ChannelsAlpha
Constant Format144bpp8ChannelsAlpha
public static readonly Guid Format144bpp8ChannelsAlpha
Field Value
Format16bppBGR555
Constant Format16bppBGR555
public static readonly Guid Format16bppBGR555
Field Value
Format16bppBGR565
Constant Format16bppBGR565
public static readonly Guid Format16bppBGR565
Field Value
Format16bppBGRA5551
Constant Format16bppBGRA5551
public static readonly Guid Format16bppBGRA5551
Field Value
Format16bppCbCr
Constant Format16bppCbCr
public static readonly Guid Format16bppCbCr
Field Value
Format16bppCbQuantizedDctCoefficients
Constant Format16bppCbQuantizedDctCoefficients
public static readonly Guid Format16bppCbQuantizedDctCoefficients
Field Value
Format16bppCrQuantizedDctCoefficients
Constant Format16bppCrQuantizedDctCoefficients
public static readonly Guid Format16bppCrQuantizedDctCoefficients
Field Value
Format16bppGray
Constant Format16bppGray
public static readonly Guid Format16bppGray
Field Value
Format16bppGrayFixedPoint
Constant Format16bppGrayFixedPoint
public static readonly Guid Format16bppGrayFixedPoint
Field Value
Format16bppGrayHalf
Constant Format16bppGrayHalf
public static readonly Guid Format16bppGrayHalf
Field Value
Format16bppYQuantizedDctCoefficients
Constant Format16bppYQuantizedDctCoefficients
public static readonly Guid Format16bppYQuantizedDctCoefficients
Field Value
Format1bppIndexed
Constant Format1bppIndexed
public static readonly Guid Format1bppIndexed
Field Value
Format24bpp3Channels
Constant Format24bpp3Channels
public static readonly Guid Format24bpp3Channels
Field Value
Format24bppBGR
Constant Format24bppBGR
public static readonly Guid Format24bppBGR
Field Value
Format24bppRGB
Constant Format24bppRGB
public static readonly Guid Format24bppRGB
Field Value
Format2bppGray
Constant Format2bppGray
public static readonly Guid Format2bppGray
Field Value
Format2bppIndexed
Constant Format2bppIndexed
public static readonly Guid Format2bppIndexed
Field Value
Format32bpp3ChannelsAlpha
Constant Format32bpp3ChannelsAlpha
public static readonly Guid Format32bpp3ChannelsAlpha
Field Value
Format32bpp4Channels
Constant Format32bpp4Channels
public static readonly Guid Format32bpp4Channels
Field Value
Format32bppBGR
Constant Format32bppBGR
public static readonly Guid Format32bppBGR
Field Value
Format32bppBGR101010
Constant Format32bppBGR101010
public static readonly Guid Format32bppBGR101010
Field Value
Format32bppBGRA
Constant Format32bppBGRA
public static readonly Guid Format32bppBGRA
Field Value
Format32bppCMYK
Constant Format32bppCMYK
public static readonly Guid Format32bppCMYK
Field Value
Format32bppGrayFixedPoint
Constant Format32bppGrayFixedPoint
public static readonly Guid Format32bppGrayFixedPoint
Field Value
Format32bppGrayFloat
Constant Format32bppGrayFloat
public static readonly Guid Format32bppGrayFloat
Field Value
Format32bppPBGRA
Constant Format32bppPBGRA
public static readonly Guid Format32bppPBGRA
Field Value
Format32bppPRGBA
Constant Format32bppPRGBA
public static readonly Guid Format32bppPRGBA
Field Value
Format32bppRGB
Constant Format32bppRGB
public static readonly Guid Format32bppRGB
Field Value
Format32bppRGBA
Constant Format32bppRGBA
public static readonly Guid Format32bppRGBA
Field Value
Format32bppRGBA1010102
Constant Format32bppRGBA1010102
public static readonly Guid Format32bppRGBA1010102
Field Value
Format32bppRGBA1010102XR
Constant Format32bppRGBA1010102XR
public static readonly Guid Format32bppRGBA1010102XR
Field Value
Format32bppRGBE
Constant Format32bppRGBE
public static readonly Guid Format32bppRGBE
Field Value
Format40bpp4ChannelsAlpha
Constant Format40bpp4ChannelsAlpha
public static readonly Guid Format40bpp4ChannelsAlpha
Field Value
Format40bpp5Channels
Constant Format40bpp5Channels
public static readonly Guid Format40bpp5Channels
Field Value
Format40bppCMYKAlpha
Constant Format40bppCMYKAlpha
public static readonly Guid Format40bppCMYKAlpha
Field Value
Format48bpp3Channels
Constant Format48bpp3Channels
public static readonly Guid Format48bpp3Channels
Field Value
Format48bpp5ChannelsAlpha
Constant Format48bpp5ChannelsAlpha
public static readonly Guid Format48bpp5ChannelsAlpha
Field Value
Format48bpp6Channels
Constant Format48bpp6Channels
public static readonly Guid Format48bpp6Channels
Field Value
Format48bppBGR
Constant Format48bppBGR
public static readonly Guid Format48bppBGR
Field Value
Format48bppBGRFixedPoint
Constant Format48bppBGRFixedPoint
public static readonly Guid Format48bppBGRFixedPoint
Field Value
Format48bppRGB
Constant Format48bppRGB
public static readonly Guid Format48bppRGB
Field Value
Format48bppRGBFixedPoint
Constant Format48bppRGBFixedPoint
public static readonly Guid Format48bppRGBFixedPoint
Field Value
Format48bppRGBHalf
Constant Format48bppRGBHalf
public static readonly Guid Format48bppRGBHalf
Field Value
Format4bppGray
Constant Format4bppGray
public static readonly Guid Format4bppGray
Field Value
Format4bppIndexed
Constant Format4bppIndexed
public static readonly Guid Format4bppIndexed
Field Value
Format56bpp6ChannelsAlpha
Constant Format56bpp6ChannelsAlpha
public static readonly Guid Format56bpp6ChannelsAlpha
Field Value
Format56bpp7Channels
Constant Format56bpp7Channels
public static readonly Guid Format56bpp7Channels
Field Value
Format64bpp3ChannelsAlpha
Constant Format64bpp3ChannelsAlpha
public static readonly Guid Format64bpp3ChannelsAlpha
Field Value
Format64bpp4Channels
Constant Format64bpp4Channels
public static readonly Guid Format64bpp4Channels
Field Value
Format64bpp7ChannelsAlpha
Constant Format64bpp7ChannelsAlpha
public static readonly Guid Format64bpp7ChannelsAlpha
Field Value
Format64bpp8Channels
Constant Format64bpp8Channels
public static readonly Guid Format64bpp8Channels
Field Value
Format64bppBGRA
Constant Format64bppBGRA
public static readonly Guid Format64bppBGRA
Field Value
Format64bppBGRAFixedPoint
Constant Format64bppBGRAFixedPoint
public static readonly Guid Format64bppBGRAFixedPoint
Field Value
Format64bppCMYK
Constant Format64bppCMYK
public static readonly Guid Format64bppCMYK
Field Value
Format64bppPBGRA
Constant Format64bppPBGRA
public static readonly Guid Format64bppPBGRA
Field Value
Format64bppPRGBA
Constant Format64bppPRGBA
public static readonly Guid Format64bppPRGBA
Field Value
Format64bppPRGBAHalf
Constant Format64bppPRGBAHalf
public static readonly Guid Format64bppPRGBAHalf
Field Value
Format64bppRGB
Constant Format64bppRGB
public static readonly Guid Format64bppRGB
Field Value
Format64bppRGBA
Constant Format64bppRGBA
public static readonly Guid Format64bppRGBA
Field Value
Format64bppRGBAFixedPoint
Constant Format64bppRGBAFixedPoint
public static readonly Guid Format64bppRGBAFixedPoint
Field Value
Format64bppRGBAHalf
Constant Format64bppRGBAHalf
public static readonly Guid Format64bppRGBAHalf
Field Value
Format64bppRGBFixedPoint
Constant Format64bppRGBFixedPoint
public static readonly Guid Format64bppRGBFixedPoint
Field Value
Format64bppRGBHalf
Constant Format64bppRGBHalf
public static readonly Guid Format64bppRGBHalf
Field Value
Format72bpp8ChannelsAlpha
Constant Format72bpp8ChannelsAlpha
public static readonly Guid Format72bpp8ChannelsAlpha
Field Value
Format80bpp4ChannelsAlpha
Constant Format80bpp4ChannelsAlpha
public static readonly Guid Format80bpp4ChannelsAlpha
Field Value
Format80bpp5Channels
Constant Format80bpp5Channels
public static readonly Guid Format80bpp5Channels
Field Value
Format80bppCMYKAlpha
Constant Format80bppCMYKAlpha
public static readonly Guid Format80bppCMYKAlpha
Field Value
Format8bppAlpha
Constant Format8bppAlpha
public static readonly Guid Format8bppAlpha
Field Value
Format8bppCb
Constant Format8bppCb
public static readonly Guid Format8bppCb
Field Value
Format8bppCr
Constant Format8bppCr
public static readonly Guid Format8bppCr
Field Value
Format8bppGray
Constant Format8bppGray
public static readonly Guid Format8bppGray
Field Value
Format8bppIndexed
Constant Format8bppIndexed
public static readonly Guid Format8bppIndexed
Field Value
Format8bppY
Constant Format8bppY
public static readonly Guid Format8bppY
Field Value
Format96bpp5ChannelsAlpha
Constant Format96bpp5ChannelsAlpha
public static readonly Guid Format96bpp5ChannelsAlpha
Field Value
Format96bpp6Channels
Constant Format96bpp6Channels
public static readonly Guid Format96bpp6Channels
Field Value
Format96bppRGBFixedPoint
Constant Format96bppRGBFixedPoint
public static readonly Guid Format96bppRGBFixedPoint
Field Value
Format96bppRGBFloat
Constant Format96bppRGBFloat
public static readonly Guid Format96bppRGBFloat
Field Value
FormatBlackWhite
Constant FormatBlackWhite
public static readonly Guid FormatBlackWhite
Field Value
FormatDontCare
Constant FormatDontCare
public static readonly Guid FormatDontCare
Field Value
Methods
GetBitsPerPixel(Guid)
Gets the number of bits per pixel for a particular pixel format.
public static int GetBitsPerPixel(Guid guid)
Parameters
guid
GuidThe 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
Returns
- int
The number of bytes per row.