WindowsICMTransformMBS class constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsICMTransformMBS constants

Constants

Constant Value Description
CMM_DLL_VERSION 3 One of the values for the GetCMMInfo function. Retrieves the version number of the CMM.
CMM_IDENT 1 One of the values for the GetCMMInfo function. Retrieves the CMM signature registered with the International Color Consortium (ICC).
CMM_WIN_VERSION 0 One of the values for the GetCMMInfo function. Retrieves the version of Windows targeted by the color management module (CMM).
INDEX_DONT_CARE 0 A special value for index in constructor. The application developer may allow Windows to choose the CMM by setting the indexPreferredCMM parameter to INDEX_DONT_CARE for the constructor.
WCS_ALWAYS &h200000 One of the flags passed when creating a transformation. If this bit is set, even all-ICC transforms will use the WCS code path.

Transform creation Flags

Constant Value Description
BEST_MODE 3 Transform will be used for the display of the highest-quality image possible on the target device.
ENABLE_GAMUT_CHECKING &h10000 Use this transform for gamut checking.
FAST_TRANSLATE &h40000 Look up color only. Do not interpolate the color.
NORMAL_MODE 2 Transform will be used for normal image display. Average image quality.
PRESERVEBLACK &h100000 If this bit is set, the transform engine inserts the appropriate black generation GMMP as the last GMMP in the transform sequence. This flag only works in a pure WCS transform.
PROOF_MODE 1 Transform will be used to preview the image. Low image quality.
SEQUENTIAL_TRANSFORM &h80800000 If this bit is set, each step in the WCS processing pipeline is performed for every pixel in the image and no optimized color transform is built. This flag only works in a pure WCS transform. more
USE_RELATIVE_COLORIMETRIC &h20000

Bitmap Format Constants

Constant Value Description
BM_10b_G3CH &h0404 32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
BM_10b_Lab &h0403 32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
BM_10b_RGB 9 32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
BM_10b_XYZ &h0401 32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
BM_10b_Yxy &h0402 32 bits per pixel. 10 bits are used for each color channel. The 2 most significant bits are ignored.
BM_16b_G3CH &h0504 64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
BM_16b_GRAY &h0505 64 bits per pixel. 16 bits are used for the gray-scale value. All other bits are ignored.
BM_16b_Lab &h0503 64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
BM_16b_RGB 10 64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
BM_16b_XYZ &h0501 64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
BM_16b_Yxy &h0502 64 bits per pixel. 16 bits are used for the gray-scale value. Each of the three color channels uses 16 bits.
BM_32b_scARGB &h0602 128 bits per pixel. 32 bits are used for each color channel, as defined by the IEEE 32-bit floating point standard.
BM_32b_scRGB &h0601 96 bits per pixel. 32 bits are used for each color channel, as defined by the IEEE 32-bit floating point standard.
BM_565RGB 1 16 bits per pixel. 5 bits are used for red, 6 for green, and 5 for blue.
BM_5CHANNEL &h0205 40 bits per pixel. 8 bits apiece are used for each channel.
BM_6CHANNEL &h0206 48 bits per pixel. 8 bits apiece are used for each channel.
BM_7CHANNEL &h0207 56 bits per pixel. 8 bits apiece are used for each channel.
BM_8CHANNEL &h0208 64 bits per pixel. 8 bits apiece are used for each channel.
BM_BGRTRIPLETS 4 24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
BM_CMYKQUADS &h0020 32 bits per pixel. 8 bits are used for each color channel.
BM_G3CHTRIPLETS &h0204 24 bits per pixel maximum. For three channel values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.
BM_GRAY &h0209 32 bits per pixel. Only the 8 bit gray-scale value is used.
BM_KYMCQUADS &h0305 32 bits per pixel. 8 bits are used for each color channel.
BM_LabTRIPLETS &h0203 24 bits per pixel maximum. For three channel, L, a, and b values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.
BM_NAMED_INDEX &h0405 32 bits per pixel. Named color indices. Index numbering begins at one.
BM_R10G10B10A2 &h0701 Only in Windows Vista.
BM_R10G10B10A2_XR &h0702 Only in Windows Vista.
BM_R16G16B16A16_FLOAT &h0703 Only in Windows Vista.
BM_RGBTRIPLETS 2 24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
BM_S2DOT13FIXED_scARGB &h0604 64 bits per pixel. Color data is stored as one 16-bit word per channel, with a fixed range of -4 to +4, inclusive. A signed format is used, with 1 bit for the sign, 2 bits for the integer portion, and 13 bits for the fractional portion.
BM_S2DOT13FIXED_scRGB &h0603 48 bits per pixel. Color data is stored as one 16-bit word per channel, with a fixed range of -4 to +4, inclusive. A signed format is used, with 1 bit for the sign, 2 bits for the integer portion, and 13 bits for the fractional portion.
BM_x555G3CH &h0104 16 bits per pixel. G3CH color space. 5 bits per channel. The most significant bit is ignored.
BM_x555Lab &h0103 16 bits per pixel. Lab color space. 5 bits per channel. The most significant bit is ignored.
BM_x555RGB 0 16 bits per pixel. RGB color space. 5 bits per channel. The most significant bit is ignored.
BM_x555XYZ &h0101 16 bits per pixel. Yxy color space. 5 bits per channel. The most significant bit is ignored.
BM_x555Yxy &h0102 16 bits per pixel. Yxy color space. 5 bits per channel. The most significant bit is ignored.
BM_xBGRQUADS &h0010 32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
BM_xG3CHQUADS &h0304 32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
BM_xRGBQUADS &h0008 32 bits per pixel. 8 bits are used for each color channel. The most significant byte is ignored.
BM_XYZTRIPLETS &h0201 24 bits per pixel maximum. For three channel colors, such as red, green, and blue, the total size is 24 bits per pixel. For single channel colors, such as gray, the total size is 8 bits per pixel.
BM_YxyTRIPLETS &h0202 24 bits per pixel maximum. For three channel, Y, x, and y values, the total size is 24 bits per pixel. For single channel gray scale, the total size is 8 bits per pixel.

Info selectors for GetInfo

Constant Value Description
CMM_DESCRIPTION 5 A text string that describes the color management module.
CMM_DRIVER_VERSION 2
CMM_FROM_PROFILE 0
CMM_LOGOICON 6 The logo icon for this CMM.
CMM_VERSION 4 Version of Windows supported.
CMM_WINDOWS_DEFAULT &h57696E20

Rendering Intent Constants

Constant Value Description
INTENT_ABSOLUTE_COLORIMETRIC 3 Maintain the white point. Match the colors to their nearest color in the destination gamut.
INTENT_PERCEPTUAL 0 Maintain contrast. Used for photographs and natural images.
INTENT_RELATIVE_COLORIMETRIC 1 Maintain colorimetric match. Used for graphic designs and named colors.
INTENT_SATURATION 2 Maintain saturation. Used for business charts and other situations in which undithered colors are required.

💬 Ask a question or report a problem