saitoha / libsixel

A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
MIT License
2.46k stars 82 forks source link

Poor quality #86

Closed GasparVardanyan closed 5 years ago

GasparVardanyan commented 5 years ago

https://i.imgur.com/B5HXWNO.png

saitoha commented 5 years ago

Try: $ echo "XTerm*numColorRegisters: 256" >> $HOME/.Xresources $ xrdb $HOME/.Xresources $ xterm

GasparVardanyan commented 5 years ago

It helps, but sixcat, which uses sixel graphics, works better. And when the width is more than 1000, img2sixel does not work. https://i.imgur.com/wIcdPQu.png https://gist.github.com/hackerb9/a96cea91e6122d09a6c97f5eb797d5fa

saitoha commented 5 years ago

try:

XTerm*maxGraphicSize: 1980x1440
GasparVardanyan commented 5 years ago

Poor quality https://i.imgur.com/owx3po8.png

GasparVardanyan commented 5 years ago

But sometimes works fine https://i.imgur.com/4VzrhYd.png

saitoha commented 5 years ago

To check the number of color registers, type:

$ printf "\033[?1;1;S";cat
GasparVardanyan commented 5 years ago

https://i.imgur.com/5cexpLB.png