Skip to content

Latest commit

 

History

History
98 lines (50 loc) · 1.18 KB

ChafaConfig.md

File metadata and controls

98 lines (50 loc) · 1.18 KB

chafa-wasm


chafa-wasm / ChafaConfig

Type Alias: 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.

Type declaration

bg

bg: number

colorExtractor

colorExtractor: number | string

colors

colors: number | string

colorSpace

colorSpace: number | string

dither

dither: number | string

ditherGrainHeight

ditherGrainHeight: number

ditherGrainWidth

ditherGrainWidth: number

ditherIntensity

ditherIntensity: number

fg

fg: number

fgOnly

fgOnly: boolean

fill

fill: string

fontRatio

fontRatio: number

format

format: number | string

height

height: number

optimize

optimize: number

preprocess

preprocess: boolean

symbols

symbols: string

threshold

threshold: number

width

width: number

work

work: number

See

https://hpjansson.org/chafa/man/