ImageInTerminal.jl
ImageInTerminal.jl copied to clipboard
Julia package for displaying images in the terminal using ANSI colors and Unicode characters
ImageInTerminal v1.0 will be a game-changer by introducing a better image encoder [Sixel.jl](https://github.com/johnnychen94/Sixel.jl) and by supporting gif/video display. We'll start with v0.5, and after living with it for a few...
It's not tested, but I _think_ [Floyd–Steinberg dithering](https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dithering) can be used to enhance the display quality in the terminal, and could also be used to encode image with 1 bit....
I tried out streaming images at video framerate rates using ImageInTerminal, and it works surprisingly well, at least on MacOS. Here's a quick and dirty start of a package https://github.com/IanButterworth/VideoInTerminal.jl...
Small RGB images are not shown with the Sixel backend, because RGB triples are misinterpreted as dimension of length 3. See, for example ```julia using ColorTypes, ImageInTerminal, Sixel img =...
This would allow to display images for arbitrary user types, as long as they provide an implementation for `Base.show` for the MIME type `image/png` as described at https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing. Example: ```julia...