Accusoft.ImagXpress13.Net
AdjustLightness Method




An integer value which represents the amount of brightening that is applied to shadowed image area.

The range for this parameter is 0 - 100.

A value of 0 results in no brightening. Higher values indicate a greater increase of brightness to be applied to the highlighted image area.

An integer value which repesents the amount of brightness decreasing that is applied to the highlighted image areas.

The range for this parameter is 0 - 100

A value of 0 results in no decrease in brightness. Higher values indicate a greater decrease of brightness in shadowed image areas.

Automatically balances contrast in the image, adjusting the results of the auto lightness algorithm by a specified amount.
Syntax
'Declaration
 
Public Sub AdjustLightness( _
   ByVal shadows As Short, _
   ByVal highlights As Short _
) 
'Usage
 
Dim instance As Processor
Dim shadows As Short
Dim highlights As Short
 
instance.AdjustLightness(shadows, highlights)
public void AdjustLightness( 
   short shadows,
   short highlights
)
public: void AdjustLightness( 
   short shadows,
   short highlights
) 
public:
void AdjustLightness( 
   short shadows,
   short highlights
) 

Parameters

shadows

An integer value which represents the amount of brightening that is applied to shadowed image area.

The range for this parameter is 0 - 100.

A value of 0 results in no brightening. Higher values indicate a greater increase of brightness to be applied to the highlighted image area.

highlights

An integer value which repesents the amount of brightness decreasing that is applied to the highlighted image areas.

The range for this parameter is 0 - 100

A value of 0 results in no decrease in brightness. Higher values indicate a greater decrease of brightness in shadowed image areas.

Remarks

This method applies the same algorithm as the AutoLightness method to automatically balance color in the image, but enables the user to adjust the results of the algorithm by a specified amount.

Note: Available in Professional edition.

See Also

Reference

Processor Class
Processor Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback