You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not unique to chafa, but all image to text convertors that support the invertable characters (half blocks, quarter blocks and braille) generate useless images when the output device has some asymmetry in rendering the normal and inverted glyph.
The two bad cases are:
When the terminal adds pixels of vertical space between lines - these typically get filled with the background color and creates ugly pictures.
When the font's symmetric glyphs are not truly symmetric to inverted, as common with the braille set. e.g.:
What could be added to chafa to make rendering consistent there? Two ideas:
Add a flag to have chafa always assign the brighter color to the foreground (or vice versa)
Allow chafa to import two images, for the conversion. One would be the foreground image, the other the background. Then artists could export say, the above text as the foreground layer, and the background as the background layer.
Anyone have thoughts on this?
The text was updated successfully, but these errors were encountered:
I think 1) could be interesting, and it should be fairly easy to test. It's a bit similar to --fg-only with a dark background, or the 16/8 mode, which allows bright colors in FG only.
Not unique to chafa, but all image to text convertors that support the invertable characters (half blocks, quarter blocks and braille) generate useless images when the output device has some asymmetry in rendering the normal and inverted glyph.
The two bad cases are:
What could be added to chafa to make rendering consistent there? Two ideas:
Anyone have thoughts on this?
The text was updated successfully, but these errors were encountered: