add_bi_level_effect method

add_bi_level_effect

Adds the new Bi-Level (black/white) effect to the end of a collection.

Returns

Index of the new image effect in a collection.

def add_bi_level_effect(self, threshold):
    ...
ParameterTypeDescription
thresholdfloatthe luminance threshold for the Bi-Level effect.

Values greater than or equal to the threshold are set to white.

Values lesser than the threshold are set to black.

See Also