Closed veltza closed 4 months ago
Here are two example sixels that use P2=1 mode.
Before, when P2=1 was not supported, the background was rendered with the current background color, so it looks like transparent, but it is opaque. (P2=0|2 works like this btw)
Now that P2=1 is supported, the background is fully transparent.
Since other terminals don't support this feature properly or at all, tools like chafa
and convert
don't use it, which is a shame. But I wanted to implement it anyway because it was one of the missing features.
@veltza, A picture is worth a thousand words. Very nice!
Somehow you manage to make this look like it is simple. This is impressive.
P2 selects how the terminal draws the background color.
Both modes are now supported.
Ref. https://www.vt100.net/docs/vt3xx-gp/chapter14.html