The COLORADJUSTMENT structure defines the color adjustment values used by the StretchBlt and StretchDIBits functions when the stretch mode is HALFTONE.
typedef struct tagCOLORADJUSTMENT { // ca WORD caSize; WORD caFlags; WORD caIlluminantIndex; WORD caRedGamma; WORD caGreenGamma; WORD caBlueGamma; WORD caReferenceBlack; WORD caReferenceWhite; SHORT caContrast; SHORT caBrightness; SHORT caColorfulness; SHORT caRedGreenTint; } COLORADJUSTMENT;
Value |
Meaning |
CA_NEGATIVE |
Specifies that the negative of the original image should be displayed. |
CA_LOG_FILTER |
Specifies that a logarithmic function should be applied to the final density of the output colors. This will increase the color contrast when the luminance is low. |
Value |
Meaning |
ILLUMINANT_DEVICE_DEFAULT |
Device’s default. Standard used by output devices. |
ILLUMINANT_A |
Tungsten lamp. |
ILLUMINANT_B |
Noon sunlight. |
ILLUMINANT_C |
NTSC daylight. |
ILLUMINANT_D50 |
Normal print. |
ILLUMINANT_D55 |
Bond paper print. |
ILLUMINANT_D65 |
Standard daylight. Standard for CRTs and pictures. |
ILLUMINANT_D75 |
Northern daylight. |
ILLUMINANT_F2 |
Cool white lamp |
ILLUMINANT_TUNGSTEN |
Same as ILLUMINANT_A. |
ILLUMINANT_DAYLIGHT |
Same as ILLUMINANT_C. |
ILLUMINANT_FLUORESCENT |
Same as ILLUMINANT_F2. |
ILLUMINANT_NTSC |
Same as ILLUMINANT_C. |
SetStretchBltMode, StretchBlt, StretchDIBits
file: /Techref/os/win/api/win32/struc/src/str01_23.htm, 7KB, , updated: 2000/4/7 11:20, local time: 2024/12/30 13:26,
3.15.223.129:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str01_23.htm"> COLORADJUSTMENT</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.