ImageGear Professional DLL v17.1 for Windows Accusoft
IG_color_temperature_convert_to_XY
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Color Temperature Functions > IG_color_temperature_convert_to_XY

Glossary Item Box

Converts color temperature structure to XY coordinates of the corresponding white point.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_color_temperature_convert_to_xy(
        const AT_COLOR_TEMPERATURE *lpColorTemperature
        AT_DPOINT *lpWhiteXY,
);

Arguments:

lpColorTemperature Color temperature structure.
lpWhiteXY Coordinates of a white point to be calculated.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Setting a greater temperature for an image results in more yellow color; lower temperature results in more blue color. Useful range for Temperature is between 2000 and 10000.

Setting a greater tint value for an image results in a more magenta color; lower tint values result in greener color. Useful range for Tint is between -50 and 50.

©2012. Accusoft Corporation. All Rights Reserved.