JacobCrabill / zigdown

Markdown parser in Zig
16 stars 2 forks source link

Feature Request - Add support for sixel graphics protocol as an alternative to kitty image protocol #1

Open VarLad opened 2 months ago

VarLad commented 2 months ago

Hello! I was wondering if it would be possible to add support for sixel protocol, as thats supported by a much wider range of terminals compared to the kitty graphics protocol, to render images.

JacobCrabill commented 2 months ago

Thanks for your interest! I hadn't previously heard of this protocol; I think the iTerm protocol might be a more useful addition than this, but I'll take a look to see how difficult it would be to add as a fallback option.

VarLad commented 1 day ago

@JacobCrabill If you're not against an external C lib dependency, Chafa library would be a great option as well. It supports most protocols (ITerm2, Sixel *faster and higher quality implementation than libsixel or ImageMagick, Kitty, Octants <from Unicode 16.0 specification>) It has a C API as well.