After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314726 - Animated GIF Frame Delay Bug #2
Animated GIF Frame Delay Bug #2
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-08-28 19:01 UTC by JB
Modified: 2008-01-15 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description JB 2005-08-28 19:01:09 UTC
Distribution/Version: Win98 4.10 build 2222

If I open an ani-gif that I previously created with GIMP, then try to save it 
with a new frame delay value, the new delay value is NOT saved !

It seems the only way to change the frame delay is to goto the layers dialog 
and edit the 'layer attributes' for each and every frame individually. 

This is true for both 'save' and 'save as'.

I would expect to be able to specify a new frame delay value and have it 
updated for all frames when saving the ani-gif.
Comment 1 Sven Neumann 2005-08-29 14:28:49 UTC
The plug-in dialog says "Delay between frames where unspecified:". So this is
not a bug. But you could try to turn it into an enhancement request asking for
better handling of frame delays for GIF animations. Not sure if you will find
anyone interested in improving this, but you might even give it a try yourself.
Comment 2 Michael Natterer 2005-08-29 15:41:40 UTC
An in fact, I have a patch that allows overriding the frame delay and
disposal upon save. Just need to find it and make it compile again,
it worked pretty well when i hacked it some time ago.
Comment 3 Michael Natterer 2005-08-29 18:45:47 UTC
Found the patch. Fixed in CVS:

2005-08-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: added toggles which allow to always use
	the frame delay and disposal entered in the dialog, overriding the
	ones specified in the layer names. Fixes bug #314726. Also fixed
	missing and non-working mnemonics.
Comment 4 Sven Neumann 2005-08-29 20:45:03 UTC
Would still be nice to have a better way to specify the delay than in the layer
names. Your change however does already improve things a lot.
Comment 5 JB 2005-08-30 00:47:26 UTC
"where unspecified:"   Ah, I get it now. This was only designed to apply to 
frames that did not already have a delay spec. And the delay spec is kept in 
the frame description field. OK, cool.

I have a pre-compiled version of GIMP installed. So I don't have the source. 
And I don't have a C compiler. Can I get the gif.exe from Michael's patched 
gif.c to drop in my GIMP folder?