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 class  COLORMODE {
  ILLEGAL ,
  ALPHA ,
  GRAY ,
  AGRAY ,
  RGB ,
  ARGB ,
  CMYK ,
  ACMYK ,
  MASK ,
  AMASK ,
  ILLEGALw ,
  GRAYw ,
  AGRAYw ,
  RGBw ,
  ARGBw ,
  MASKw ,
  ILLEGALf ,
  GRAYf ,
  AGRAYf ,
  RGBf ,
  ARGBf ,
  MASKf
}
 

Functions

enum COLORMODE MAXON_ENUM_FLAGS (COLORMODE)
 

Enumeration Type Documentation

◆ COLORMODE

enum COLORMODE
strong
Enumerator
ILLEGAL 

Illegal 8-bit mode.

ALPHA 

Only 8-bit alpha channel.

GRAY 

8-bit grayscale channel.

AGRAY 

8-bit grayscale channel with 8-bit alpha.

RGB 

8-bit RGB channels.

ARGB 

8-bit RGB channels with 8-bit alpha.

CMYK 

8-bit CMYK channel.

ACMYK 

8-bit CMYK channel with 8-bit alpha.

MASK 

8-bit grayscale map as mask.

AMASK 

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

ILLEGALw 

Illegal 16-bit mode.

GRAYw 

16-bit grayscale channel.

AGRAYw 

16-bit grayscale channel with 16-bit alpha.

RGBw 

16-bit RGB channels.

ARGBw 

16-bit RGB channels with 16-bit alpha.

MASKw 

16-bit grayscale map as mask.

ILLEGALf 

Illegal 32-bit mode.

GRAYf 

32-bit floating point grayscale channel.

AGRAYf 

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

RGBf 

32-bit floating point RGB channels.

ARGBf 

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

MASKf 

32-bit floating point grayscale map as mask.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum COLORMODE MAXON_ENUM_FLAGS ( COLORMODE  )