ImageGear for C and C++ on Windows v20.0 - Updated
enumIGColorSpaceIDs
API Reference Guide > Core Component API Reference > Core Component Enumerations Reference > enumIGColorSpaceIDs

Identifies a color space ID. This ID is a bit field which can combine multiple values from enumIGColorSpaceIDs. It can be made up of one, two, or three components. It must describe the color space (RGB, CMYK, grayscale, etc). It may also indicate that a type of alpha channel is present (alpha, pre-multiplied alpha) and/or the presence of one or more extra channels. For example:

IG_COLOR_SPACE_ID_RGB - RGB with no alpha or extra channels.

IG_COLOR_SPACE_ID_Gy Or IG_COLOR_SPACE_ID_A - grayscale with an alpha channel.

IG_COLOR_SPACE_ID_RGB Or IG_COLOR_SPACE_ID_P Or IG_COLOR_SPACE_ID_Ex - RGB with a pre-multiplied alpha channel and one or more extra channels.

Values:

IG_COLOR_SPACE_ID_None No regular (color) channels, can be combined with alpha and extra values.
IG_COLOR_SPACE_ID_RGB RGB.
IG_COLOR_SPACE_ID_Gy Grayscale (intensity).
IG_COLOR_SPACE_ID_I Indexed RGB.
IG_COLOR_SPACE_ID_IHS IHS.
IG_COLOR_SPACE_ID_HLS HLS.
IG_COLOR_SPACE_ID_LAB LAB.
IG_COLOR_SPACE_ID_YIQ YIQ.
IG_COLOR_SPACE_ID_CMY CMY.
IG_COLOR_SPACE_ID_CMYK CMYK.
IG_COLOR_SPACE_ID_YCbCr YCbCr.
IG_COLOR_SPACE_ID_YUV YUV.
IG_COLOR_SPACE_ID_XYZ For internal use only. CIE XYZ.
IG_COLOR_SPACE_ID_LAST Equal to last color space (for color channels) enum value.
IG_COLOR_SPACE_ID_ColorMask Bit mask used to access color space (for color channels) only.
IG_COLOR_SPACE_ID_A Indicates presence of an alpha channel.
IG_COLOR_SPACE_ID_P Indicates presence of a pre-multiplied alpha channel.
IG_COLOR_SPACE_ID_Ex Indicates presence of one or more extra channels.
IG_COLOR_SPACE_ID_RGBA RGB with alpha channel.
IG_COLOR_SPACE_ID_RGBPA RGB with pre-multiplied alpha channel.
IG_COLOR_SPACE_ID_GyA Intensity with alpha channel.
IG_COLOR_SPACE_ID_GyPA Intensity with pre-multiplied alpha channel.
IG_COLOR_SPACE_ID_RGBAEx RGB with alpha and extra channels.
IG_COLOR_SPACE_ID_RGBPAEx RGB with pre-multiplied alpha and extra channels.
IG_COLOR_SPACE_ID_Unknown Unknown - no color or alpha channels, only extra channels are present.
IG_COLOR_SPACE_ID_HSL HSL.
Is this page helpful?
Yes No
Thanks for your feedback.