HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

img2sixel — Convert images to the Sixel format for displaying in a terminal. More information: <https://manned.o

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thesixelcommandformatimagesconvertcliimg2sixel

Problem

How to use the img2sixel command: Convert images to the Sixel format for displaying in a terminal. More information: <https://manned.org/img2sixel>.

Solution

img2sixel — Convert images to the Sixel format for displaying in a terminal. More information: <https://manned.org/img2sixel>.

Display an image in the terminal:
img2sixel {{path/to/image}}


Resize the image to the specified width and height before displaying it:
img2sixel {{[-w|--width]}} {{number}} {{[-h|--height]}} {{number}} {{path/to/image}}

Code Snippets

Display an image in the terminal

img2sixel {{path/to/image}}

Resize the image to the specified width and height before displaying it

img2sixel {{[-w|--width]}} {{number}} {{[-h|--height]}} {{number}} {{path/to/image}}

Context

tldr-pages: common/img2sixel

Revisions (0)

No revisions yet.