Skip to content

How SIXEL works ​

SIXEL is a bitmap graphics format introduced by Digital Equipment Corporation for terminals and printers. A SIXEL character describes six vertically stacked pixels in one colour. The terminal interprets a stream of graphics commands to draw the picture at the cursor. libsixel's format overview

From a file to the screen ​

When you open a photo or clip, si uses FFmpeg to decode the media into pixels. It fits the frame to the available space and uses libsixel to encode the colours and pixels as SIXEL. Your terminal draws the resulting stream.

For a folder, si generates thumbnails and captions. For a single video, it sends a sequence of frames and handles the playback timing. This is why the same terminal can show both a contact sheet and a moving picture. sixel-viz source

Image and theme credits ​

The homepage shows output from sixel-viz v0.4.0. The egret photograph and the still used to make the snake clip are public-domain photos by Jon Sullivan, distributed with libsixel. The snake clip pans into the photograph. The examples preserve the pixel colours from the SIXEL output. libsixel image credits

The site uses the Dyne Vite theme. The Dyne mark is reproduced unchanged, courtesy of the Dyne.org foundation, under CC BY-SA 4.0. Theme · Dyne branding · Licence