ImageGear Professional for Windows ActiveX
Colorspace Conversion

In order to use a custom white balance for an image, set the "APPLY_COLORSPACE_CONVERSION" control parameter of format filter to False. Use the IGProcessingCtl Control.CalculateCameraToSRGBMatrix Method to calculate a conversion matrix, based on selected white balance and on known conversion matrices obtained from metadata. Use IGProcessingCtl Control.ConvertToColorSpaceWithMatrix Method to convert the image to the linear sRGB color space.

Use the IGColorTemperature Object to operate with color temperature and white balance settings.

The APPLY_COLORSPACE_CONVERSION parameter only has effect if the RECONSTRUCT_COLORS parameter is True.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback