Post Reply 

How to edit animated GIF

Oct 31, 2013, 04:44
Post: #1
How to edit animated GIF
Hi there,
I would like to edit an animated GIF. I can open it in GIMP and the various frames appear as layers - all good so far. I would like to paste in an object into each frame then re-export. THe problem is, many of the frames have large transparent sections in them. I'm guessing this how the original program saved some space in the GIF file - by using transparency in areas that don't change from the first few frames. Is this going to cause issues, and if so, is there a way to export all the frames as images with the full detail rather than looking like a series of cheese-graters?

Any help appreciated.

Thanks
Find all posts by this user
Quote this message in a reply
Oct 31, 2013, 05:10
Post: #2
RE: How to edit animated GIF
Some Gif animations to my knowledge of what I've seen opening them up in gimp decompose like what you saw "cheese grater". There is an option in gimp animation filter to optimize for animation that does this to reduce file size.

If you want to import an image to a single frame, you first need to paste it as a layer, then merge it down to the frame/layer you want it on. Otherwise, it will be treated as it's own layer.

If you notice any frames showing below the frame you merged your imported image on, you may also need to add a background under that select frame & merge your frame to that background.

Gimp has a tutorial for working with gif animations here and also recommends using the "GAP(gimp animation package)" plugin for more complex/more control over your animations.
http://www.gimp.org/tutorials/Simple_Animations/

*Try the merge-down technique above first if you can.

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 31, 2013, 05:18
Post: #3
RE: How to edit animated GIF
Ok I'm a bit of a noob at this stuff so please bear with me. I can load the animated GIF and I get a series of layers, all of which by default have the little "eye" icon next to them in the layer panel. What's the best way to work on an individual frame/layer? Should I de-select all the eyes except the layer I want to work on? I can then paste in a selected object from another source. To deal with the cheese grater layers (most of them are), I must first individually merge each of these with the background to fill in the holes?
Find all posts by this user
Quote this message in a reply
Oct 31, 2013, 05:25
Post: #4
RE: How to edit animated GIF
How about this? For a file of say 10 frames, I flatten the GIF, do my edits, save/export. Delete frame 10, flatten, edit, export. Delete frame 9, flatten, edit, export etc etc until done. That would leave me with 10 complete images that I could then re-animate.
Find all posts by this user
Quote this message in a reply
Oct 31, 2013, 05:46
Post: #5
RE: How to edit animated GIF
(Oct 31, 2013 05:18)Mudhoney Wrote:  Ok I'm a bit of a noob at this stuff so please bear with me. I can load the animated GIF and I get a series of layers, all of which by default have the little "eye" icon next to them in the layer panel. What's the best way to work on an individual frame/layer?
See below
Quote: Should I de-select all the eyes except the layer I want to work on?
That way might be good, just make sure you drag the image you want to stack directly above the frame you want it on (for background layer, under the frame you want it on before you merge down)
Quote: I can then paste in a selected object from another source. To deal with the cheese grater layers (most of them are), I must first individually merge each of these with the background to fill in the holes?
Yes Smile You can try without the background first, if you get good results you can skip that step(the background.)

To reply to your 2nd message(flattening, then editing), that probably wont work since you need the layers for the animation, when you flatten them, it leaves you with 1 image.

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 31, 2013, 06:15
Post: #6
RE: How to edit animated GIF
thanks, having a go now!
Find all posts by this user
Quote this message in a reply
Nov 2, 2013, 10:26
Post: #7
RE: How to edit animated GIF
First off, you need to do Filters - Animation - Unoptimize. This will make each frame exactly as it appears in the gif. Also change image mode to RGB (Image - Mode - RGB). Then you need to merge your layer containing an object onto every animation frame. This can be automated using Animstack script.

(Oct 31, 2013 05:18)Mudhoney Wrote:  Ok I'm a bit of a noob at this stuff so please bear with me. I can load the animated GIF and I get a series of layers, all of which by default have the little "eye" icon next to them in the layer panel. What's the best way to work on an individual frame/layer? Should I de-select all the eyes except the layer I want to work on? I can then paste in a selected object from another source. To deal with the cheese grater layers (most of them are), I must first individually merge each of these with the background to fill in the holes?

Try this script http://registry.gimp.org/node/20080. Also you can Shift-click on an eye to make only one layer visible.
Find all posts by this user
Quote this message in a reply
Nov 2, 2013, 10:33
Post: #8
RE: How to edit animated GIF
Punctuation strikes again Wink In case it fooled you remove the "." from the end of the url
ie. http://registry.gimp.org/node/20080

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Nov 2, 2013, 10:57
Post: #9
RE: How to edit animated GIF
(Nov 2, 2013 10:26)Grue Wrote:  Also you can Shift-click on an eye to make only one layer visible.

A nugget of knowledge worth its weight in gold! :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  gif making tybonel13 0 479 May 27, 2017 12:36
Last Post: tybonel13
  Help with adding image to gif Mandzukic 2 657 Sep 18, 2014 19:21
Last Post: Mandzukic
  Animated Gif? Captain_Cereal_Hands 4 719 Jun 29, 2014 18:00
Last Post: iForStyle007
  Animated Gif with a fixed layer RickiTickiToc 2 792 May 30, 2014 07:44
Last Post: RickiTickiToc
  Saving a GIF Neiiley 1 531 May 13, 2014 22:45
Last Post: iForStyle007

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS