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

Some .gifs are incorrectly "smearing" #84

Open
mcpower opened this issue Feb 2, 2021 · 1 comment
Open

Some .gifs are incorrectly "smearing" #84

mcpower opened this issue Feb 2, 2021 · 1 comment

Comments

@mcpower
Copy link

mcpower commented Feb 2, 2021

Input Output
input output

To reproduce:

  1. go get github.com/discord/lilliput
  2. cd ~/go/src/github.com/discord/lilliput/examples
  3. go build
  4. ./examples -input input.gif -output output.gif

Alternatively, upload the input gif to Discord to reproduce.

Using GIMP to inspect the output gif, it seems like Lilliput is incorrectly outputting transparent pixels when it shouldn't be.

(The gif provided here is a minimal reproducible example, which is spliced from a longer gif - that's why there are transparent bars in the gif. I can upload the full gif if needed.)

@skidder
Copy link
Contributor

skidder commented Nov 25, 2024

Thank you for reporting this! I've been able to reproduce this issue when transforming from GIF->GIF. It doesn't occur when going from GIF->animated WebP. I agree that this is likely related to the handling of transparent pixels and the transparency threshold. We'll post an update once this is corrected. Thanks again!

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

2 participants