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

Invalid gif produced from reverse order frames #30

Closed
potpath opened this issue Nov 6, 2014 · 2 comments
Closed

Invalid gif produced from reverse order frames #30

potpath opened this issue Nov 6, 2014 · 2 comments

Comments

@potpath
Copy link

potpath commented Nov 6, 2014

gifsicle commit e5e6c72
Image from https://en.wikipedia.org/wiki/File:Rotating_fountain_coriolis_effect02.gif

Here is the output from:
gifsicle tmp.gif "#-1-0" > tmp-reverse.gif

This issue appears in some but not all gif.
For example, running the same command to https://commons.wikimedia.org/wiki/File:Pethidine3Dan.gif results in correct gif.

@iirelu
Copy link

iirelu commented Nov 6, 2014

It's because the gif is optimised. Use gifsicle -U tmp.gif "#-1-0" > tmp-reverse.gif and it will work fine.

@potpath
Copy link
Author

potpath commented Nov 7, 2014

It works now. Thanks!

@potpath potpath closed this as completed Nov 7, 2014
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