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
Transparent background for GIF #82
Comments
I agree that it would be best to save gifs with transparency.
I don't have time to look into this in the next week or so, so I invite you to contribute this modification if you want it soon. |
I tried to do it, I got transparent background but hand movements become clustered and it wasn't smooth, I cant figure out why would background color change affects the hand motion. |
If you create a PR, and specify the issue (with an example GIF), I might be able to look at it faster |
sure |
Ah! so the issue is probably this one https://stackoverflow.com/questions/60948028/python-pillow-transparent-gif-isnt-working
|
Yeah according to this GIF has border problems but APNG doesn't have that GIF: PNG : Should I stick with PNG? |
Glad to see you got it working. |
Thanks for solving your issue! |
I would be good idea to save gif with transparent background by default then white background so it suits for most of the users.
Just need to set
alpha
channel value0
herehttps://github.com/sign-language-processing/pose/blob/master/src/python/pose_format/pose_visualizer.py#L113
https://github.com/sign-language-processing/pose/blob/master/src/python/pose_format/pose_visualizer.py#L231
The text was updated successfully, but these errors were encountered: