Skip to content

@mbtech-nl/bitmap / PlaneRenderOptions

Interface: PlaneRenderOptions

Defined in: types.ts:124

Per-plane pre-quantisation overrides. Each field, if omitted, falls back to MultiPlaneRenderOptions.defaults, then to that field's hard default (e.g. threshold: 128, dither: false, gamma: 1).

No invert field: inverting an individual plane's output would set bits on background pixels and other planes' pixels, breaking the mutual- exclusivity guarantee that renderMultiPlaneImage is built around.

Properties

PropertyTypeDefined in
autoLevels?booleantypes.ts:127
dither?boolean | DitherMethodtypes.ts:126
gamma?numbertypes.ts:128
threshold?numbertypes.ts:125

Released under the MIT License.