Replies: 1 comment 2 replies
-
|
Hi! I'm not sure Chafa can help with this directly, but it can help if you start with a PNG or other image screenshot of the emoji you'd like to convert to sixels. Then you can do: chafa --polite on -f sixels --exact-size on image.png > image.sixAfter which you can It's hard to make sixels behave like emojis, since the former have a fixed pixel size, while emojis are provided by the font, whose size may vary. Depending on how you want this to work/look it may be a better approach to edit the font (e.g. by adding new glyphs to one of the Private Use Areas). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had someone provide me with an example of ANSI escape code sequences that create, from scratch, 4 new characters (adding up to 2 unicode chracters): A right-facing trumpet, and a left-facing trumpet.
The 5th character ("1111, HHHH, zzzz, ????") is just me messing around trying to figure out the sixel format.
So you can see: 2 trumpets, and a meaningless noise character (between the question marks) that i created with "1111/HHHH/zzzz/????"
I would like to create more custom-font sixel characters. Particularly, I'm looking to modify the devil emoji (to be blue, have longer horns).
Is there a way I can convert the devil emoji (or, a picture of it) directly into the type of sixel representation in the sequence above? That would be a great baseline, then I could mess around and maybe get what I want.
And can this be done with per-pixel color?
Because I noticed with the above trumpets, I could color them using ANSI code, to look like this:

But ultimately, I'd like to be able to be more artistic than monochrome custom characters.
I would absolutely love an editor for this.
Beta Was this translation helpful? Give feedback.
All reactions