COLORMODE

Detailed Description

The color mode for bitmaps.
The most common values are COLORMODE_RGB for 24-bit RGB bitmaps and COLORMODE_GRAY for 8-bit grayscale bitmaps.

Enumerations

enum  COLORMODE {
  COLORMODE_ILLEGAL,
  COLORMODE_ALPHA,
  COLORMODE_GRAY,
  COLORMODE_AGRAY,
  COLORMODE_RGB,
  COLORMODE_ARGB,
  COLORMODE_CMYK,
  COLORMODE_ACMYK,
  COLORMODE_MASK,
  COLORMODE_AMASK,
  COLORMODE_ILLEGALw,
  COLORMODE_GRAYw,
  COLORMODE_AGRAYw,
  COLORMODE_RGBw,
  COLORMODE_ARGBw,
  COLORMODE_MASKw,
  COLORMODE_ILLEGALf,
  COLORMODE_GRAYf,
  COLORMODE_AGRAYf,
  COLORMODE_RGBf,
  COLORMODE_ARGBf,
  COLORMODE_MASKf
}
 

Enumeration Type Documentation

§ COLORMODE

enum COLORMODE
Enumerator
COLORMODE_ILLEGAL 

Illegal 8-bit mode.

COLORMODE_ALPHA 

Only 8-bit alpha channel.

COLORMODE_GRAY 

8-bit grayscale channel.

COLORMODE_AGRAY 

8-bit grayscale channel with 8-bit alpha.

COLORMODE_RGB 

8-bit RGB channels.

COLORMODE_ARGB 

8-bit RGB channels with 8-bit alpha.

COLORMODE_CMYK 

8-bit CMYK channel.

COLORMODE_ACMYK 

8-bit CMYK channel with 8-bit alpha.

COLORMODE_MASK 

8-bit grayscale map as mask.

COLORMODE_AMASK 

8-bit grayscale map as mask with 8-bit alpha.

COLORMODE_ILLEGALw 

Illegal 16-bit mode.

COLORMODE_GRAYw 

16-bit grayscale channel.

COLORMODE_AGRAYw 

16-bit grayscale channel with 16-bit alpha.

COLORMODE_RGBw 

16-bit RGB channels.

COLORMODE_ARGBw 

16-bit RGB channels with 16-bit alpha.

COLORMODE_MASKw 

16-bit grayscale map as mask.

COLORMODE_ILLEGALf 

Illegal 32-bit mode.

COLORMODE_GRAYf 

32-bit floating point grayscale channel.

COLORMODE_AGRAYf 

32-bit floating point grayscale channel with floating point alpha.

COLORMODE_RGBf 

32-bit floating point RGB channels.

COLORMODE_ARGBf 

32-bit floating point RGB channels with floating point alpha.

COLORMODE_MASKf 

32-bit floating point grayscale map as mask.