Introduction
Sixel is DEC’s way of sending bitmap graphics to a terminal as text, documented for the
VT330 and VT340. ImageMagick registers the format under the names SIXEL and SIX, and
where a file has no recognised signature it goes by the file extension, such as
.six.
Structure
A sixel string opens with the device control string introducer (ESC P in
7-bit form), optional parameters and q, and ends with the string
terminator (ESC \). Characters from ? to ~ each
draw a column of six pixels: the character code minus 0x3F, with bit 0 at
the top. # selects or defines a colour, ! repeats a character,
" sets raster attributes, $ returns to the start of the line
and - moves to the next one.
Not described
Known, not yet covered
- Reference: this page is a summary; the parameters are not yet described in full on this site.
- Viewer: the site has no viewer for sixel data.
Links
Software
- ImageMagick – image tools with a SIXEL coder
Reference
- Sixel graphics – VT330/VT340 Programmer Reference Manual, chapter 14, at vt100.net
- sixel.c – ImageMagick’s SIXEL coder, source code (C)
- ImageMagick command-line processing – how ImageMagick chooses a format, in the copy shipped by Debian