Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

PixelFormat Enumeration

Contains pixel formats supported by Graphics Mill for .NET.

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

Syntax

Visual Basic
Public Enumeration PixelFormat
C#
public enum PixelFormat

Members

Member name Description
Format80bppAcmyk

80 bits per pixel. CMYK with alpha channel. 16 bits each are used for the alpha, cyan, magenta, yellow, and black components (extended pixel format).

Format64bppCmyk

64 bits per pixel. CMYK. 16 bits each are used for the cyan, magenta, yellow, and black components (extended pixel format).

Format40bppAcmyk

40 bits per pixel. CMYK with alpha channel. 8 bits each are used for the alpha, cyan, magenta, yellow, and black components.

Format32bppCmyk

32 bits per pixel. CMYK. 8 bits each are used for the cyan, magenta, yellow, and black components.

Format64bppArgb

64 bits per pixel. RGB with alpha channel. 16 bits each are used for the alpha, red, green, and blue components (extended pixel format).

Format48bppRgb

48 bits per pixel. RGB. 16 bits each are used for the red, green, and blue components (extended pixel format).

Format32bppArgb

32 bits per pixel. RGB with alpha channel. 8 bits each are used for the alpha, red, green, and blue components.

Format32bppRgb

32 bits per pixel. RGB. 8 bits each are used for the red, green, and blue components. The rest 8 bits are unused.

Format24bppRgb

24 bits per pixel. RGB. 8 bits each are used for the red, green, and blue components.

Format16bppRgb565

16 bits per pixel. RGB. 5 bits each are used for the red, and blue components. 6 bits are used for green component.

Format16bppRgb555

16 bits per pixel. RGB. 5 bits each are used for the red, green, and blue components. The rest bit is unused.

Format16bppArgb1555

16 bits per pixel. RGB with alpha channel. 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.

Format8bppIndexed

8 bits per pixel. Indexed.

Format4bppIndexed

4 bits per pixel. Indexed.

Format1bppIndexed

1 bit per pixel. Indexed.

FormatUnknown

Undefined pixel format (returned when bitmap is not initialized).

Format32bppAGrayScale

32 bits per pixel. Grayscale with alpha channel. 16 bits are used for alpha channel and other 16 bits are used for luminosity level (extended pixel format).

Format16bppAGrayScale

16 bits per pixel. Grayscale with alpha channel. 8 bits are used for alpha channel and other 8 bits are used for luminosity level.

Format8bppGrayScale

8 bits per pixel. Grayscale. 8 bits are used for luminosity level.

Format16bppGrayScale

16 bits per pixel. Grayscale. All 16 bits are used for luminosity level (extended pixel format).

Remarks

Note

GDI cannot handle bitmaps with an alpha channel (Format32bppArgb) when it draws anything on it. As the high byte of 4-byte color must be zero in GDI, each pixel drawn with GDI becomes transparent. So now, if you try to call any drawing methods for the bitmaps with an alpha channel when using GDI, the UnsupportedPixelFormatException exception will be thrown.

See Also

Reference