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

Support symbols for image previewing #777

Closed
1 task done
shajra opened this issue Mar 5, 2024 · 0 comments · Fixed by #1066
Closed
1 task done

Support symbols for image previewing #777

shajra opened this issue Mar 5, 2024 · 0 comments · Fixed by #1066
Labels
feature New feature request

Comments

@shajra
Copy link

shajra commented Mar 5, 2024

Please describe the problem you're trying to solve

I'm not an expert on image rendering in a terminal. What I know is from using the chafa executable, which seems to support the following formats:

  • --format kitty
  • --format iterm
  • --format sixels
  • --format symbols

Yazi does the first three well where it can. But the fallback seems to require Überzug++ to get Chafa working (I believe as a library).

The "symbols" format of Chafa is just fancy character art, but it can be surprisingly pleasant for what it is. Such an option would give people using modest terminals who are not interested in installing/configuring Überzug++ something more than nothing.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

I would want to use the current fallback if Überzug++ is detected; otherwise, use simple ANSI art along the lines of what chafa --format symbols currently does.

Additional context

No response

@shajra shajra added the feature New feature request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant