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 12:20, local time: 2025/5/4 13:31,
3.145.171.144:LOG IN
|
©2025 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://www.piclist.com/tecHREF/os/win/api/win32/struc/src/str01_23.htm"> COLORADJUSTMENT</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
The Backwoods Guide to Computer Lingo |
.