Interface: BlackThresholdOptions
Defined in: safeWasmWrappers.js:42
Properties
height
height:
number
Defined in: safeWasmWrappers.js:45
The height of the image.
num_colors
num_colors:
number
Defined in: safeWasmWrappers.js:46
Per-channel brightness cutoff (0-255): pixels whose red, green and blue values are all below this become black. Retained as num_colors for backwards compatibility.
pixels
pixels:
Uint8ClampedArray<ArrayBufferLike>
Defined in: safeWasmWrappers.js:43
The image pixel data (flat RGBA array).
width
width:
number
Defined in: safeWasmWrappers.js:44
The width of the image.