-
-
Notifications
You must be signed in to change notification settings - Fork 646
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delay of GIF animation changes #2582
Labels
Comments
Hi @dloebl, You're right, I see:
Which is obviously not very useful. |
Yes, looks like libnsgif defaults to 100cs for the frame delay: https://github.com/libvips/libvips/blob/master/libvips/foreign/libnsgif/libnsgif.c#L1006 The usual GIF default is 10fps I think, so perhaps this should be 10? I'll patch it. |
jcupitt
added a commit
that referenced
this issue
Dec 18, 2021
This is the delay if the GCB is missing. See #2582
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for yet another GIF issue 馃槄
For the following GIF the delay changes when doing a copy via vips. After the first frame, a delay of one second is added.
$ vips copy test.gif[n=-1] out.gif
In the input GIF, the graphic control extension for the first frame is missing.
To me it looks as if the decoder sets some kind of placeholder delay to 100cs when no graphic control extension is present.
The text was updated successfully, but these errors were encountered: