chafa-wasm / ChafaConfig
ChafaConfig:
object
An object that holds the output configuration. Supports most of the options of the Chafa command-line utility, see its documentation for details.
bg:
number
colorExtractor:
number
|string
colors:
number
|string
colorSpace:
number
|string
dither:
number
|string
ditherGrainHeight:
number
ditherGrainWidth:
number
ditherIntensity:
number
fg:
number
fgOnly:
boolean
fill:
string
fontRatio:
number
format:
number
|string
height:
number
optimize:
number
preprocess:
boolean
symbols:
string
threshold:
number
width:
number
work:
number