LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ppmtosixel

Convert PPM to DEC Sixel terminal format

TLDR

Convert PPM to Sixel
$ ppmtosixel [input.ppm]
copy
Convert with raw output
$ ppmtosixel -raw [input.ppm]
copy

SYNOPSIS

ppmtosixel [options] [file]

DESCRIPTION

ppmtosixel converts PPM images to DEC Sixel format. Sixel enables inline graphics in compatible terminals. Part of Netpbm toolkit.

PARAMETERS

-raw

Raw sixel output.
-margin
Add margin.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Copied to clipboard
Kai