This documentation is for the old version. Go to the latest Graphics Mill docs

PixelFormatUtils Methods

The PixelFormatUtils type exposes the following members.

Methods

Name Description
Public method Static member AlphaChannelIndex

Returns an index of the alpha channel for the specified pixel format.

Public method Static member BitsPerPixel

Returns number of bits per pixel for specified pixel format.

Public method Static member ChannelCount

Returns number of channels (including alpha channel) supported by specified pixel format.

Public method Static member ChannelCountWithoutAlpha

Returns number of color channels (i.e. excluding alpha channel) supported by specified pixel format.

Public method Static member ColorSpace

Returns color space of the specified pixel format.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member HasAlpha

Returns value that specifies whether pixel format supports alpha channel.

Public method Static member IsCmyk

Returns value that specifies whether pixel format belongs CMYK color space.

Public method Static member IsExtended

Returns value that specifies whether pixel format is extended (16 bits per channel).

Public method Static member IsGrayScale

Returns value that specifies whether pixel format is grayscale.

Public method Static member IsIndexed

Returns value that specifies whether bitmap with this pixel format is indexed.

Public method Static member IsRgb

Returns value that specifies whether pixel format belongs RGB color space.

Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

See Also

Reference