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.
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.
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.
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
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
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.
$ cv convert photo.jpg photo.sixel$ cv convert photo.jpg photo.sixelQuestions.What people ask about JPG to SIXEL.
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.