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

Sixel encoding for images and output for terminals #38

Open
TeddyDD opened this issue Sep 30, 2023 · 4 comments
Open

Sixel encoding for images and output for terminals #38

TeddyDD opened this issue Sep 30, 2023 · 4 comments
Labels
good first issue Good for newcomers

Comments

@TeddyDD
Copy link

TeddyDD commented Sep 30, 2023

Just an idea, sixel format could be used to display images in terminal.

@kaikalii
Copy link
Member

kaikalii commented Oct 8, 2023

I support this.
I have other things higher in my todo, but if anyone wants to implement this, know that you cannot use any of the existing Rust crates that depend on libsixel, as they require it as a local dependency - something I do not want to requre.
I suggest looking at icy_sixel

@kaikalii kaikalii added the good first issue Good for newcomers label Oct 8, 2023
@exxjob
Copy link

exxjob commented Jan 20, 2024

Just to note: terminal emulators have different ideas of what's worth supporting, so compatibility can be a pain. There's ReGIS, Sixel, Kitty, iTerm2, and finally mosaics and ueberzug which are entirely different things. You might find Chafa and NotCurses most flexible, both seem to have Rust wrappers, but I can't vouch for those. https://www.arewesixelyet.com

@BaerLKR
Copy link
Contributor

BaerLKR commented Sep 12, 2024

Should sixel be a output format, like png, jpg, ... or should it be in the show_image function?
I am not sure what way is better

@kaikalii
Copy link
Member

It would be part of &ims.

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

No branches or pull requests

4 participants