Convert XPM to SIXEL

Turn XPM images into SIXEL. A SIXEL picture, which some terminals draw, in at most 256 colors.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XPM files on the dialor turn it to pick what to do

An XPM image for terminals that draw graphics.You get one SIXEL file with at most 256 colors. Transparency is dropped.

  1. What you get

    A single SIXEL file made from your XPM image. SIXEL is a format for terminals that draw graphics inline, so some terminals can show the picture directly.

    The picture uses at most 256 colors.

  2. What changes

    Transparency is dropped. Areas that are transparent in the XPM do not stay transparent in the SIXEL file.

    The XPM is source code for a C program that holds an image. The SIXEL file holds the image only, in a form a terminal can draw.

  3. Going the other way

    To turn a SIXEL file back into an XPM, use SIXEL to XPM. The conversion has no options to set.

XPM and SIXEL.What each format is.

The formats

From · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images
To · SIXEL

Sixel

Images encoded for terminals that draw graphics inline.

Extensions
.sixel .six
MIME type
image/x-sixel
Kind
Images

In your code.The same XPM to SIXEL conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xpm photo.sixel
$ cv convert photo.xpm photo.sixel

Questions.What people ask about XPM to SIXEL.

01OF 04

Some terminals draw SIXEL graphics inline. Whether yours is one of them depends on the terminal.

At most 256.

No. Transparency is dropped.

One file.

More conversions.Other ways in and out of XPM and SIXEL.