Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow displaying transparent pictures actually transparent #10

Closed
L3viathan opened this issue May 7, 2019 · 1 comment
Closed

Allow displaying transparent pictures actually transparent #10

L3viathan opened this issue May 7, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@L3viathan
Copy link
Contributor

Currently, when viewing a picture with transparency, such as a PNG with transparent parts, those parts are rendered with the familiar "transparency grid" of light and dark gray.

It would be nice to instead (maybe with a switch) render them "actually transparent" (not setting a background color for that character), such that I see the background color of my terminal, whatever that might be.

You currently seem to use just a single character for everything, U+2584.
With this implemented, you'd have to instead use spaces (for characters where both "subpixels" are transparent), and U+2580 (UPPER HALF BLOCK) for those where the upper part should have a color, and the lower half should be transparent.

@atanunq
Copy link
Owner

atanunq commented May 7, 2019

I like the idea! I will definitely come back to this issue when I have the time. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants