ImageGear for C and C++ on Windows v20.0 - Updated
IG_color_temperature_initialize_from_preset
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Color Temperature Functions > IG_color_temperature_initialize_from_preset

Initializes color temperature structure from a preset value, such as Daylight, Tungsten, etc.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_color_temperature_initialize_from_preset(
        enumIGWhiteBalancePreset PresetValue,
        AT_COLOR_TEMPERATURE* lpColorTemperature        
);

Arguments:

Name Type Description
PresetValue enumIGWhiteBalancePreset Preset white balance identifier.
ColorTemperature 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.

Is this page helpful?
Yes No
Thanks for your feedback.