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

transparency #6

Open
benjajaja opened this issue Oct 13, 2024 · 0 comments
Open

transparency #6

benjajaja opened this issue Oct 13, 2024 · 0 comments

Comments

@benjajaja
Copy link

There is sixel_dither.set_transparent(i32) to set some palette(?) color to transparent. On its own it does nothing. But if I change the output to start with <esc>P0;1;0q instead of <esc>Pq, then that color indeed becomes transparent, tested on xterm. However this on its own is quite useless.

What I think should happen, is that if e.g. set_transparent(0) has been called, that this keycolor should then be used for any pixel that is fully transparent in the pixels passed to .encode(...) later.

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

No branches or pull requests

1 participant