textmode.js / conversion / TextmodeConversionStep
Interface: TextmodeConversionStep
One pass in a source-level conversion stack.
Properties
| Property | Type | Description |
|---|---|---|
brightnessEnd? | number | Maximum captured brightness for this pass in byte-space (0-255). Requires brightnessStart. |
brightnessStart? | number | Minimum captured brightness for this pass in byte-space (0-255). Requires brightnessEnd. |
cellColor? | TextmodeColorInput | Fixed cell color for this pass. |
cellColorMode? | "fixed" | "sampled" | Cell color mode for this pass. |
characters? | string | Characters used by this pass when the strategy maps through a character palette. |
charColor? | TextmodeColorInput | Fixed character color for this pass. |
charColorMode? | "fixed" | "sampled" | Character color mode for this pass. |
charRotation? | number | Character rotation in degrees for this pass. |
flipX? | number | boolean | Flip characters horizontally for this pass. |
flipY? | number | boolean | Flip characters vertically for this pass. |
invert? | number | boolean | Invert character/cell colors for this pass. |
mode | string | Conversion mode to run for this pass. |
options? | TextmodeConversionStepOptions | Strategy-specific options for this pass. |