ppmtosixel
Convert a PPM image to DEC sixel format. More information: <https://netpbm.sourceforge.net/doc/ppmtosixel.html>.
Install
- All systems
-
curl cmd.cat/ppmtosixel.sh
- Debian
-
apt-get install netpbm - Ubuntu
-
apt-get install netpbm - Arch Linux
-
pacman -S netpbm - Kali Linux
-
apt-get install netpbm - CentOS
-
yum install netpbm-progs - Fedora
-
dnf install netpbm-progs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install netpbm - OS X
-
brew install netpbm - Raspbian
-
apt-get install netpbm
Convert a PPM image to DEC sixel format. More information: <https://netpbm.sourceforge.net/doc/ppmtosixel.html>.
-
Convert a PPM image to DEC sixel format:
ppmtosixel path/to/file.ppm > path/to/file.sixel -
Produce an uncompressed SIXEL file that is much slower to print:
ppmtosixel -raw path/to/file.ppm > path/to/file.sixel -
Add a left margin of 1.5 inches:
ppmtosixel -margin path/to/file.ppm > path/to/file.sixel -
Encode control codes in a more portable (although less space-efficient) way:
ppmtosixel -7bit path/to/file.ppm > path/to/file.sixel
© tl;dr; authors and contributors