Convert JPG to SIXEL

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

A SIXEL picture for your terminal.A JPG becomes one SIXEL file in at most 256 colors.

  1. What you get

    One SIXEL file, a picture that some terminals draw inline. The colors in it number at most 256.

    The JPG is turned upright by its orientation tag before the conversion, so a photo that was stored sideways comes out the right way up.

  2. What changes

    SIXEL is a format for terminals that draw graphics inline, so the file is meant for those terminals. Not every terminal draws it.

    The output holds at most 256 colors. This is the limit of the SIXEL picture this conversion makes.

  3. When it stops

    A JPG that cannot be parsed stops the conversion with input_corrupted. This code means the file could not be parsed.

JPG and SIXEL.What each format is.

The formats

From · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
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 JPG to SIXEL conversion through the API, for your app or your agent.

terminal
$ cv convert photo.jpg photo.sixel
$ cv convert photo.jpg photo.sixel

Questions.What people ask about JPG to SIXEL.

01OF 04

Yes. The JPG becomes one SIXEL file, which some terminals draw.

Yes. The JPG is turned upright by its orientation tag first.

At most 256.

The JPG could not be parsed. The conversion stops with this code in that case.

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