3 ms·
I just use ImageMagick. I put the following function in my ~/.bash_aliases: scat () { if [ "" != "$1" ] then COLS=`tput cols` if
by OhMeadhbh 2y ago
I just use ImageMagick. I put the following function in my ~/.bash_aliases:
scat () {
if [ "" != "$1" ]
then
COLS=`tput cols`
if [ "$COLS" -gt "96" ] ; then COLS=96 ; fi
convert "$1" -resize $(( $COLS * 9))x^200 -background white -flatten sixel:-
fi
}