ConvertConfig.SetClarity Method

Definition

Namespace: P1.ImageSdk

Setup the clarity tool. Its used as a tool to help control the local contrast in the image. A negative value will decrease local contrast and and positive increase it. Its a combination of selecting a method and a factor (amount)

public ConvertConfig SetClarity(int clarityMethod, float clarityFactor);

Parameters:

clarityMethod

It can be set to: clarityMethodNeutral = 0, clarityMethodPunch=1, clarityMethodNatural=2. Default is clarityMethodNeutral

clarityFactor

Value defining the factor used for the clarity tool. It is a value between -1.0 and 1.0. Default is 0.0 for disabled

Returns: