-
Notifications
You must be signed in to change notification settings - Fork 12
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
[FEATURE] High quality images by making use of SIXEL #76
Comments
Seems like this is your first issue here. Make sure to read the contributing guidelines and follow them here. |
Should be doable, could be default too. Leaving this link for later use because this is a python project, not c https://pypi.org/project/PySixel/ |
From a cursory look, the deps are either all c programs that need to be compiled from source or broken pypi packages. Going to see if I can get the pypi only one fixed, because including a binary or telling people to compile something from a random git repo to install isn't high on the bucket list for this project |
Well, maybe you could use the ImageMagick API (or Wand in case of python I think)? Cause their "convert" program also supports SIXEL. Maybe not the best solution but yeah.. |
imagemagick is still a separate install that needs to be run, a little less rough on the user though. Also looking at sixel output, it's wildly different to our current intermediate output which probably breaks our filters, but our filters for the most part would effectively downscale the image rendering the usage of sixels irrelevant in the first place so that's not as big an issue. |
Is your feature request related to a problem? Please describe.
There should be an option to get high-quality previews/images.
Describe the solution you'd like
https://en.wikipedia.org/wiki/Sixel
https://github.com/libsixel/libsixel
SIXEL is old but got support in a bunch of more modern terminal emulators during the last few years. And with mpv a well-known application implemented SIXEL as an output option.
Describe alternatives you've considered
There is no alternative I consider at this point. A few terminal emulators like iTerm and Kitty have their own graphics protocol; those might become relevant enough in the future.
The text was updated successfully, but these errors were encountered: