This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The drawable
INT32
low_threshold
The low threshold value: 0 <= low_threshold <= 255
INT32
high_threshold
The high threshold value: 0 <= high_threshold <= 255