Parameters
- page
- Page to process.
- sourceWhiteXY
- White point used when shooting the source picture.
- destinationWhiteXY
- Correct white point, matching actual shooting conditions better.
For example, if the image was taken in the daylight, but the camera white balance setting was set to Tungsten, white objects would display as blue. To correct this (make the white objects display white), use the AdjustWhiteBalance method, setting source white balance to Tungsten and destination white balance to Daylight.
This method can also be used to make image colors 'cooler' or 'warmer'. To make the image look warmer, use a source white point corresponding to a higher color temperature, and a destination white point corresponding to a lower color temperature. To make the image look cooler, use a source white point corresponding to a lower color temperature, and a destination white point corresponding to a higher color temperature.
You can use ImGearWhiteBalance class object to calculate a white point corresponding to a specific color temperature and tint, or to a preset value.