Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better image encoding via sixel #45

Closed
johnnychen94 opened this issue Mar 29, 2021 · 3 comments · Fixed by #50
Closed

better image encoding via sixel #45

johnnychen94 opened this issue Mar 29, 2021 · 3 comments · Fixed by #50

Comments

@johnnychen94
Copy link
Member

johnnychen94 commented Mar 29, 2021

sixel has way better image display quality in the terminal so we should consider adopting this.

It is a C library so we need to first build the libsixel_jll with BinaryBuilder, and then wrap it with perhaps Sixel.jl, and use the wrapping package in ImageInTerminal.

https://github.com/m-j-w/TerminalGraphics.jl is a very early project to do this before the "modern" BinaryBuilder.

@johnnychen94
Copy link
Member Author

it's still WIP, but here's a preview:

image

@johnnychen94
Copy link
Member Author

johnnychen94 commented May 10, 2021

@oxinabox FYI, with this done (JuliaIO/Sixel.jl#1), ReferenceTests will then include libsixel_jll for Julia >= v1.6 in exchange for the much better terminal image comparison.

@oxinabox
Copy link

Nice
TIL
https://en.wikipedia.org/wiki/Sixel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants