Image.whiteThreshold

Forces all pixels above the threshold into white while leaving all pixels below the threshold unchanged.

Parameters

threshold Quantum

The threshold value for red green and blue.

channel ChannelType

One or more channels to adjust.

Meta