ImageGear for C and C++ on Windows v19.4 - Updated
IG_color_temperature_initialize_from_XY
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Color Temperature Functions > IG_color_temperature_initialize_from_XY

Initializes color temperature structure from XY coordinates of white point.

Declaration:

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

Arguments:

Name Type Description
lpWhiteXY const AT_DPOINT* Coordinates of a white point.
lpColorTemperature AT_COLOR_TEMPERATURE* Color temperature structure to be initialized.

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.