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

Bitmap.PixelFormat Property

Returns pixel format of the current bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public ReadOnly Property PixelFormat As PixelFormat
C#
public PixelFormat PixelFormat { get; }

Property Value

PixelFormat value specifying the pixel format of the current bitmap.

Remarks

You can use the following properties to get more detailed information about current pixel format:
PropertyDescription
BitsPerPixelNumber of bits per pixel used by this pixel format.
ColorSpaceColor space of pixels represented with current pixel format.
HasAlphaWhether current pixel format supports alpha channel (transparency information).
IsCmykWhether color space of pixels represented with current pixel format is CMYK.
IsRgbWhether color space of pixels represented with current pixel format is RGB.
IsGrayScaleWhether color space of pixels represented with current pixel format is grayscale.
IsExtendedWhether current pixel format is extended (16 bits per channel).
IsIndexedWhether current pixel format is indexed (palette-based).

See Also

Reference