Skip to content

textmode.js / conversion

conversion

All media conversion related modules and types.

Responsible for converting images and videos into textmode-renderable formats using various conversion strategies, like brightness- or edge-detection-based conversion.

textmode.js only comes with a built-in 'brightness'-based conversion strategy, but custom strategies can be registered via TextmodeConversionManager.register.

Classes

ClassDescription
TextmodeConversionManagerManages conversion strategy registration and retrieval.

Type Aliases

Type AliasDescription
BuiltInConversionModeBuilt-in conversion mode names provided by textmode.js
TextmodeConversionModeType representing the available textmode conversion modes