Nov 23, 2009

How To Make Simple Animations In The Gimp - in the form of an Animated GIF.

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Graphics and Animation

How To Make Simple Animations In The Gimp - in the form of an Animated GIF.

Lancer
This is a very simple technique which even young school children can manage... use the method in class if you like (but show them for real rather than making them read something; they will pick it up a lot faster). I am using Gimp 2.4 for this tutorial.

When saving layered images in GIF format, the Gimp knows how to prepare them in a special way which will work automatically on websites. I recommend you are moderately familiar with the Gimp and at have at least a basic understanding of layers to follow this tutorial.


Part 1: Get Ready
1. Start a new image in Gimp
2. Make sure the layer window is showing (if not, hit CTRL+L or go to Dialogs => Layers in your image window menus)
3. The default layer is called "Background". It is in bold and has some special properties like not being able to be switched around (up or down) with other layers. I usually delete this layer because not being able to move it becomes a pain.
4. Make another layer white (not transparent) layer and name it "frame0001"

Part 2: Draw Your Frames
5. Draw the first frame of your animation on the main workspace window, this layer will be "frame0001", which is the very first fame of our animation.
6. To make the next frame, hit the "Duplicate Layer" button. Gimp will automatically name your new layer "Frame0001 copy". Double click the name to rename it as Frame002
Note: it is important to know that Gimp animates the layers upwards, that is... the first frame of your animation should be at the bottom bottom of your layer stack.
7. Redraw the next frame by making alterations as needed. Do NOT use the eraser tool, as this will poke transparent hole in the frame, showing what was on the last frame below it in your working window, bu not necessarily in the final animation (depending on layer name... see Part 5 step 12). For now, it is better to paint over in white.
A useful tip here is that by utilising the Opacity slider of your layer, you can see through to the previous frame. Be sure to move the slider back when you are done and be aware that whichever layer is highlighted, is the one you are currently painting on.

Part 3: Preview Your Animation, Touch Up Frames
8. In your image window, go to Filters > Animation > Playback
9. In the new window which appears, push the PLAY button.
The timing will probably be wrong, and you may spot things on frames you need to fix. Note that there is also a single frame step button... very handy.
10. Go back to step 6 and make adjustments as needed You do not need to reopen the Playback afresh each time, it will update automatically. You may have to use the eye icon on layers to hide the top ones temporarily so you can see what you are repainting on lower frames. Thankfully, hiding frames does not affect them showing in Playback, so you can work on lower frames and preview the animation at the same time without having to unhide everything.

Part 4: Fix the Timings
At this point, you might want to SAVE your work as the next stage is going to rename your layers. Use XCF format.
11. Go into the image window menu through Filters > Animation > Unoptimize. This will create a brand new Gimp file, but the layers all have (100ms)(replace) added to their previous name. The ms means milliseconds (1/1000 of a second) and is how long that frame should last. So, if you want a particular frame to hold for a second, double click the layer name and change the value to read (1000ms)(replace).

Part 5: Optimize the GIF and Save
Finally, you are happy with the timings and the look of your animation. It's good, but it's not efficient in terms of filesize. It's a waste of resources to redraw the whole image every frame when some parts don't move.
12. This time, go through Filters > Animation > Optimize (for GIF)
The resulting new file is specially made so that only what is needed to be replaced gets put on every layer. Notice that the layer names have changed from (replace) to (combine). This means that the new layer is combined over the top of the old one. In other words, a layer marked "combine" treats transparent areas as "see through" to the previous lower layer, whereas "replace" means to draw each frame afresh. This can be confusing to work with so I recommend you don't bother with transparency for your first animations.
13. Save your new work as GIF. Go through "Save as" so it asks for a name for the file. End the filename with .gif (e.g: myanimation.gif)
A box will appear asking whether you want to "Merge Visible Layers" or "Save as Animation". Choose the Animation option.
I usually keep my backup copies in Gimp's default .xcf format as other formats in case Gimp changes some of the colours or compress images to a poor quality, which can happen because of the filetype.

You are basically done. Put the animated GIF on your website and it should just work.

Please vote, and let me know of any errors you spot, or just anywhere I'm unclear so I can make appropriate alterations.

 

 

 


Comment/Reply (w/o sign-up)

yordan
Please excuse a newbie in this field, I'm interested in learning how to make animated gif's.
Do you mean that during the animation, the frame Frame0001 is first shown, after that Frame0002, Frame0003 ?
You also say that there is transparency effect, does that mean that you see all the layers at the same time ? Or do you see Frame0001 under Frame0002 only if you use the eraser ?
Regards
Yordan
--------------
P.S. Talking about young school children, could you please edit your post and correct your mistyping ? For instance replace "how to prepate them" with "how to prepare them"

Comment/Reply (w/o sign-up)

Lancer
QUOTE(yordan @ Sep 9 2008, 01:02 AM) *
Do you mean that during the animation, the frame Frame0001 is first shown, after that Frame0002, Frame0003 ?

Yes, but the Gimp does not actually care what you name each layer. It plays them in order showing the bottom layer first, then working up through the stack. I just number them out of habit because it's "tidy" and makes it clear to the anyone editing the file which order they are in, and also anyone offering advice about improving an animation can specify exactly which frames are affected.


QUOTE(yordan @ Sep 9 2008, 01:02 AM) *
You also say that there is transparency effect, does that mean that you see all the layers at the same time ? Or do you see Frame0001 under Frame0002 only if you use the eraser ?

Transparency was something which I didn't want to get into because it could make the tutorial too long and confuse people. The tutorial is written assuming that no transparency is wanted for every frame, like a flipbook with solid pages, so your animation will have each frame in a white box. Of course, GIFs can handle transparency, so that your dancing banana could be floating in front of your website background. Using (replace) for any frame means that fame is drawn completely afresh whereas (combine) shows the lower layers through any transparent holes. If you make a transparent GIF, it looks confusing in the Gimp because you would see all the layers in the workspace window at the same time. The eraser tool punches a transparent hole in your layer showing what is in the next layer down (or previous frame) so I recommended to avoid it at this stage and just have no transparency.
If you would like to use transparency, I recommend you mark it in an unused colour (e.g bright red) while working on your base animation. When your animation is done, you can use the magic wand tool on these areas (or "select by colour") to select these area and delete then with "cut" (CTRL+X). You would have to do this for each layer as well as having to set each layer to (replace) and... well there's plenty of stumbling blocks. Experimentation will show you the way.


QUOTE(yordan @ Sep 9 2008, 01:02 AM) *
P.S. Talking about young school children, could you please edit your post and correct your mistyping ? For instance replace "how to prepate them" with "how to prepare them"

Yeah thanks. I cut my left index finger with a craft knife in class some time ago and the nerves are damaged; my keyboard spelling dropped bigtime and occasionally things like that seem to get by my spellchecking. I didn't have much time to include screenshot images which is what I would consider if presenting the tutorial to school children. Onto it now, thanks. smile.gif

 

 

 


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : make, simple, animations, gimp, form, animated, gif,

  1. Gimp Animation Tutorial
    Read in the first part of the tut why i made another tut same as Lance (16)
  2. Text Outline In Gimp
    (2)
    Hello, When I first started using GIMP, it took me a while to figure it out, and I made a few
    mistakes. Well, here's a tutorial so others won't! Although, you will need some VERY basic
    knowledge of the gimp, ie placing text and choosing a colour. Anyway; 1) Create a new image. Any
    size is ok. 2) Put in some text of your choice. Now, select the text, and using the text tool, click
    the button marked "Path from Text". 3) Now, make a new transparent layer. 4) Selecting the new
    transparent layer, make sure it is below the text layer, and then use the select menu's....
  3. Gimp Userbar Tutorial
    Very Easy... (9)
    Hello, I will tell you how to create a nice userbar in the open-source software called GIMP. You
    should GIMP 2.4.6 installed on computer, and if you don't, go to The GIMP Website. Make sure
    to view a few beginner tutorials to have a basic understanding of GIMP. This is what the finished
    userbar will look like: It is very simple, and I learned it easy. I will guide you through all
    the steps of making a userbar. ~ Now we will go through all the steps. 1. Open GIMP and click
    New(Ctrl + N) and make the size for your new image 350 by 19. Your screen should look....
  4. Gimp: Working With Text
    Simple GIMP tutorial for beginners (5)
    GIMP Working with Text 1) Start a new image with dimensions that hold your text. Plan for extra
    room. 2) Text Tool: Create a Text. Type in a name or something. Pick a font and Size of 50 pixels.
    3) Adding a Shadow: There are different ways add a shadow. There are many ways to add a
    basic shadow but some will result in your shadow being clipped on the edges. So I'll show you a
    work around. This would also Apply when part of your blur - or other filter - gets knocked off the
    text selection you apply it on. I've found out you can do two things. 3.A) I....
  5. Animated Rain Tut
    (12)
    Ok well here was me result when I did it: 1.)Open up a completed signature (if you don't have
    one follow this tut) 2.)Now create a new layer and fill it with black. press control+j 3 time
    so you have 4 black layers above your sig. 3.)On all of the layers go to Filter>Noise>Add Noise
    and make sure monochromatic is checked. For all of the layers make the noise somewhere between
    200-300. 4.)Set all of the black layers with noise to overlay 5.)Bring the image over to
    imageready 6.)Hide all layers except the sig and the bottom black layer, click new frame t....

    1. Looking for make, simple, animations, gimp, form, animated, gif,

See Also,

*SIMILAR VIDEOS*
Searching Video's for make, simple, animations, gimp, form, animated, gif,
advertisement



How To Make Simple Animations In The Gimp - in the form of an Animated GIF.

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com