ArtLayer.threshold

void threshold (int level)

Parameters

level The threshold level.

Description

Converts grayscale or color images to high-contrast, B/W images by converting pixels lighter than the specified threshold to white and pixels darker than the threshold to black.