ImageGear .NET - Updated
AdjustWhiteBalance(ImGearRasterPage,ImGearWhiteBalancePreset,ImGearWhiteBalancePreset) Method




ImageGear23.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > AdjustWhiteBalance Method : AdjustWhiteBalance(ImGearRasterPage,ImGearWhiteBalancePreset,ImGearWhiteBalancePreset) Method
Page to process.
White balance preset value used when shooting the source picture.
Correct white balance preset value, matching actual shooting conditions better.
This method allows correction of white balance of the image.
Syntax
'Declaration
 
Public Overloads Shared Sub AdjustWhiteBalance( _
   ByVal page As ImGearRasterPage, _
   ByVal sourceWhite As ImGearWhiteBalancePreset, _
   ByVal destinationWhite As ImGearWhiteBalancePreset _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim sourceWhite As ImGearWhiteBalancePreset
Dim destinationWhite As ImGearWhiteBalancePreset
 
ImGearEffects.AdjustWhiteBalance(page, sourceWhite, destinationWhite)
public static void AdjustWhiteBalance( 
   ImGearRasterPage page,
   ImGearWhiteBalancePreset sourceWhite,
   ImGearWhiteBalancePreset destinationWhite
)
public: static void AdjustWhiteBalance( 
   ImGearRasterPage* page,
   ImGearWhiteBalancePreset sourceWhite,
   ImGearWhiteBalancePreset destinationWhite
) 
public:
static void AdjustWhiteBalance( 
   ImGearRasterPage^ page,
   ImGearWhiteBalancePreset sourceWhite,
   ImGearWhiteBalancePreset destinationWhite
) 

Parameters

page
Page to process.
sourceWhite
White balance preset value used when shooting the source picture.
destinationWhite
Correct white balance preset value, matching actual shooting conditions better.
Remarks
This method allows to correct white balance of the image.

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 the source white balance to Tungsten and the destination white balance to Daylight.

See Also

Reference

ImGearEffects Class
ImGearEffects Members
Overload List
ImGearRasterPage Class