PDF download Download Article PDF download Download Article

Animated GIF images can be found all over the Internet. They are used in buttons, links, icons, backgrounds, dividers, and banner ads, these eye-catching images can be an excellent tool for personal expression. This wikiHow teaches you the basics of building your own animated GIF images from scratch using a free image editing program called GIMP.

Part 1
Part 1 of 2:

Creating Frames For Your Animation in GIMP

PDF download Download Article
  1. GIMP is a free and open-source image editing program that has similar tools to Photoshop. GIMP has an icon that resembles a fox with a paintbrush in its mouth. Click the icon in your Windows Start menu, or Applications folder on Mac and Linux.
  2. The size of the file you create depends on it's intended use. Banner advertisements are generally between 60 and 120 pixels tall and 400 to 800 pixels wide. Buttons are usually about 40 pixels high and 300 pixels wide. Different website software and banner exchange systems will list their own requirements. Use the following steps to create a new image file:
    • Click File .
    • Click New
    • Type the width in pixels next to "Width".
    • Type the height in pixels next to "Height".
    • Click Ok .
    Advertisement
  3. The active foreground and background color are displayed in overlapping rectangles below the toolbar to the left. To select a color, click the rectangle on top. Click a color in the rainbow-colored strip to select a color. Use the box to the left of the rainbow-colored strip to select a shade for the color. This selects the active foreground color.
  4. The paint bucket tool has an icon that resembles a bucket pouring paint. It's in the toolbar to the left. Click the image artboard in the center of the screen to fill the image with your background color.
    • You can also use other tools, such as the brush tool to draw any other non-moving objects on the background layer.
  5. The Layers panel is to the right of the artboard in the lower-right corner. To add a new layer, click the tiny icon that resembles a sheet of paper with a plus sign (+). Click this icon in the lower-left corner of the Layers panel to add a new layer. Create a layer for each moving object in your image.
  6. Use the new layer(s) you created to add moving objects to your image. You can use the brush tool to draw an object, or the text tool to add text to your image. Make sure each moving object in your image is placed in its own layer.
  7. After you have created each moving object of your image on its own layer, place all objects at the starting frame of your animation.
  8. An animation is made of many still images called frames. We need to save each image of the animation as a still image. Use the following steps to save the first frame of your animation:
    • Click File
    • Click Export As .
    • Type "[Animation file name] frame 1" next to name.
    • Click Select File Type .
    • Click JPEG image .
    • Click Export
    • Click Export again.
  9. The move tool has an icon that resembles a cross-arrow pointing up, down, left, and right. Use the move tool to slightly move the moving objects in your image to their frame 2 positions. The recommended frame rate for a GIF animation is between 10-30 frames per second. So you only need to move each object very slightly between each frame.
    • To help keep the movement between each frame smooth and consistent, you may want to turn on the grid. To turn on the grid, click View , followed by Show Grid .
  10. After you have all the moving parts in place or the second frame, use the following steps to save the second frame of your image:
    • Click File
    • Click Export As .
    • Type "[GIF file name] frame 2" next to "Name."
    • Click Select File Type .
    • Click JPEG image .
    • Click Export
    • Click Export again.
  11. Continue in this fashion. Use the Move tool to place each moving object in your animation slightly and then save the image as a frame. Make sure each image contains the frame number in the file name (i.e. Text Scroll Frame 1, Text Scroll Frame 2, Text Scroll Frame 3, and so on).
  12. It's a good idea to save your work as a GIMP (.xcf) file, in case you need to redo or change any frames later on. Name the file something like "[Animation name] artboard.xcf". Use the following steps to save your work:
    • Click File
    • Click Save As .
    • Type a file name next to "Name".
    • Click Save .
  13. Advertisement
Part 2
Part 2 of 2:

Creating an Animated GIF in GIMP

PDF download Download Article
  1. After you create still images for each frame of your animation, create a new file in GIMP. Make sure the the width and height of the file match the width and height of your animation frames. Use the following steps to open a new file in GIMP.
    • Click File .
    • Click New
    • Type the width in pixels next to "Width".
    • Type the height in pixels next to "Height".
    • Click Ok .
  2. GIMP creates animations using each layer as a separate frame of animation. The bottom layer is the first frame of animation and the top layer is the last frame of animation. Use the following steps to open your image frames as a new layer. You can select multiple images by holding the Shift key and selecting the first and last image frame:
    • Click File
    • Click Open as Layers .
    • Hold Shift and click the first image frame file.
    • Click the last image frame while still holding Shift
    • Click Open .
  3. By default, GIMP exports GIF animations at a frame rate of 10 frames (100ms) per second. You can add the frame rate in milliseconds at the end of each frame to change the frame rate to something a little faster, you can add the frame rate in parentheses to the end of each frame name in the list of the frames. For example, if you add "(33ms)" at the end of each layer name, that will give you a frame rate of about 30 frames per second.
  4. Before you export your animation as a GIF, you can preview it. This allows you to see how the animation looks. If you need to edit any of the frames in the animation artboard file. Use the following steps to preview your animation:
    • Click Filter .
    • Click Playback .
    • Use the "fps" drop-down menu to select the Frames per Second.
    • Click the Play button in the upper-right corner.
  5. If you are satisfied with how your GIF animation looks, use the following steps to export it as a GIF animation.
    • Click File
    • Click Export As .
    • Type a file name next to "Name."
    • Click Select File Type .
    • Click GIF image .
    • Click Export
    • Click Export again.
    • Click As animation .
    • Type the frame rate (i.e. 30) next to "Delay between frames where unspecified:".
    • Click Export
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is the best GIF animator?
    Community Answer
    DVDvideosoft.com has a free GIF maker. You can drag and drop a video, mark where you want the start and end of the GIF, click and it's done in seconds.
  • Question
    Can I use video to create a gif in GIMP?
    Community Answer
    You could, but it would require splitting the video into still frames. Once you have those pictures, do as the tutorial describes.
  • Question
    When exporting as an animated .GIF file, only one of the frames (layers) is rendered. Why?
    Community Answer
    Maybe you haven't animated it properly. Try and watch the tutorial again and create the .gif file again.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      • Remember that .gif images only have 256 colors available, and "transparent" is one of them, so you can't do TOO much shading or your shading will disappear in the final export.
      • Something cute or funny is often more effective than large rude blinking blocks at getting a message across in a favorable way.
      • Combining the animation and transparency capabilities of the .gif format can make for some very nice effects.
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Very blinky images or messages can cause headaches, nausea, and disdain from your peers.
      Advertisement

      Things You'll Need

      About This Article

      Article Summary X

      1. Open GIMP.
      2. Create a new GIMP file in the File menu.
      3. Use the tools Add your background and all non-moving objects on one layer.
      4. Create a new layer for each moving object in your animation.
      5. Use the tools to create moving objects on separate layers.
      6. Place all objects in their starting position.
      7. Save the image as still image title "[animation name] frame 1".
      8 Move your objects to the frame 2 positions.
      9. Save the image as a still image title "[animation name] frame 2".
      10. Repeat for all additional frames.
      11. Create a new GIMP file with the same dimensions as your frame images.
      12. Open each frame as a new layer in the File menu.
      13. Add the frame rate in milliseconds in parenthesis after each layer name (i.e. 100ms for 10 fps, 33ms for 30fps).
      14. Click File , followed by Export 15. Type a name for the GIF next to "Name" and click Select File Type . 16. Select GIF image
      17. Click As animation .
      18. Click Export .

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 541,661 times.

      Is this article up to date?

      Advertisement