commands.sh

ppmtosixel

all

Convert a PPM image to DEC sixel format.

More info →

Options (2)

-rboolean

Produce an uncompressed SIXEL file that is much slower to print

Example: ppmtosixel {{[-r|-raw]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}
-mboolean

Add a left margin of 1.5 inches

Example: ppmtosixel {{[-m|-margin]}} {{path/to/file.ppm}} > {{path/to/file.sixel}}

Examples (4)

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 [-r|-raw] path/to/file.ppm > path/to/file.sixel

Add a left margin of 1.5 inches

ppmtosixel [-m|-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
made by @shridhargupta | data from tldr-pages