NewBWModeThreshold

Functionin imageoptocompute-sdk-go v1.11.0View source
func NewBWModeThreshold(luminance uint32) BWMode

NewBWModeThreshold returns a BWMode for default threshold dithering with a specified luminance.

Parameters

luminance: uint32

Returns