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.
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.
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.
When it fails
The conversion stops with
input_corruptedwhen 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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - 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 PNG to SIXEL conversion through the API, for your app or your agent.
$ cv convert photo.png photo.sixel$ cv convert photo.png photo.sixelQuestions.What people ask about PNG to SIXEL.
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.