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

Fix transparent and sparse images #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zebreus
Copy link

@zebreus zebreus commented Jun 3, 2024

This PR fixes sending transparent images. Previously sturmflut did not work with some (but not all) images containing transparency. This had something to do with the offset for a command not being set when a pixel has alpha which caused the send thread to think it should send 0 pixels.

An example for a previously broken image is attached below:
cargo

@zebreus zebreus marked this pull request as ready for review June 3, 2024 13:44
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

Successfully merging this pull request may close these issues.

1 participant