-
I intend to use chafa as a previewer for my photos, but have sometimes problems with the rendering quality of slow color gradients (e.g. cloudy skies), that come out very quantized with distinct color bands. Crisp photos render however perfectly as sixels. I have tried chafa, notcurses, img2sixel and imagemagick and in general I can get the best results with the -I option of img2sixel, followed by magick, notcurses and chafa (my terminal is foot version: 1.14.0 +pgo +ime +graphemes -assertions from nixos 23.05). Here are the resulting sixel files, png images have been generated with sixel2img: Original (not very beautiful, but shows the effect very clearly):
Conversion to png spoils it completely, but img2sixel gives by far the best approximation of the original with the
Are there any options in chafa to improve sixel rendering of photos? Dithering can improve the appearance of this file, but I loose details in sharper shots. I would prefer to use chafa over the other options because of speed and active maintainance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The Edit: #174 |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for looking into it! Please let me know, if you need some testing. |
Beta Was this translation helpful? Give feedback.
-
I'm a bit sad that the original reporter disappeared, because this is now thoroughly fixed! |
Beta Was this translation helpful? Give feedback.
I'm a bit sad that the original reporter disappeared, because this is now thoroughly fixed!