JuliaIO / Sixel.jl

The Julia wrapper of libsixel
MIT License
41 stars 5 forks source link

support indexed image and predefined colormap #16

Open johnnychen94 opened 2 years ago

johnnychen94 commented 2 years ago

Currently, every sixel_encode does quantization, dithering, and the real encoding. This could possibly introduce 1) unnecessary computation in quantization and dithering, and 2) unstable colormap generation.

If we consider encoding a video sequence to sixel formats, then we'd like to ensure every frame/slice uses the same quantization and colormap setup.

CRef: https://github.com/FedeClaudi/Term.jl/discussions/94#discussioncomment-2928045