Convert PNG to SIXEL

Turn PNG 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 PNG files on the dialor turn it to pick what to do

A PNG picture for terminals that draw graphics.You get one SIXEL file with at most 256 colors. Transparency is dropped.

  1. What you get

    A SIXEL picture, a format made for terminals that draw graphics inline. Terminals that support SIXEL can show the picture right in the window. The conversion gives you one file.

    PNG is a lossless format for screenshots, icons and graphics with sharp edges. SIXEL holds at most 256 colors, so the picture is drawn with a limited palette.

  2. What changes

    The palette is cut to at most 256 colors. A picture that uses more colors than that is drawn with fewer.

    Transparency is dropped. PNG can carry an alpha channel, and SIXEL does not keep it.

  3. When it fails

    The conversion stops with input_corrupted when the PNG file could not be parsed. Check that the file is a complete PNG before you try again.

    To go the other way, use SIXEL to PNG.

PNG and SIXEL.What each format is.

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
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 PNG to SIXEL conversion through the API, for your app or your agent.

terminal
$ cv convert photo.png photo.sixel
$ cv convert photo.png photo.sixel

Questions.What people ask about PNG to SIXEL.

01OF 04

No. Transparency is dropped in the conversion.

At most 256. A PNG with more colors than that is drawn with a reduced palette.

No. Only some terminals draw SIXEL pictures.

The PNG file could not be parsed, so the conversion stops with input_corrupted.

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