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

Displaying animated GIF always makes the background transparent, so never clears the previous frame. #73

Open
heurist1 opened this issue Dec 18, 2022 · 0 comments

Comments

@heurist1
Copy link
Contributor

I was trying to use the server to display an animated GIF of snow on a 16x32 display using the draw_image command. The background got set to transparent regardless of the background color or transparency in the GIF file. This meant that the snow only ever built up and the previous positions of flakes never got erased.

I believe the best fix that also maintains backwards compatibility would be to add an additional parameter, defaulted to the current behaviour, but allowing the background pixels to be written as they are in the file.

I will submit a pull request with my suggested change,

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