February 6th

HOW-TO: Make an animated gif (updated version!)

Now updated for GIMP 2.8 (if using an earlier version such as 2.6, you’ll want to use Save As… in place of Export…)!

Today, we are going to make an animated .gif using all free, open source programs with no watermarks. (This version of this tutorial is not going to cover ripping videos off YouTube, you’ll have to look into that yourself if you’re interested in that, since websites and add-ons for this are frequently changing)

What you need:

Download and install these as necessary.

For this example, I’m making a .gif from the 1925 silent film of The Phantom of the Opera, as it’s in the public domain and I happen to have it downloaded (doesn’t everyone?!).

Part one: Getting the screencaps

Note: The important part of this step is to amass the frames you’ll need for the animation. If Avidemux doesn’t work with your video or you otherwise can’t use it, you may need to open your video in an appropriate program and take screencaps yourself (roughly one every couple frames for the section of the video you’ll want to animate).

We’re going to need a set of screencaps from our video to form the frames of our animation, and Avidemux is very good for this.

Open your video in Avidemux. You might get messages from Avidemux about different options for dealing with your video depending on its format. This tutorial isn’t going to cover the details of Avidemux — as a general rule, just pick one, and if that doesn’t work, open the video again and pick the opposite.

Find the place you want your animation to start (try using the arrow keys to nudge to the perfect spot). Click the [A button. Find where you want the animation to end, and click the ][B button.

Now File > Save > Save Selection as JPEG Images… Avidemux will save for you all of the frames in your selection as individual .jpgs, which could lead to a lot of images, so give your set of images a name and save them in an appropriate place.

image

Check to make sure Avidemux saved the images correctly.

Part two: Create the Animation

Open GIMP and go to File > Open as Layers…

image

If you used Avidemux to generate images for you, you probably have a lot of them and will have trouble keeping the filesize low enough if you use all of them. Try selecting all the even- or odd-numbered images (in Windows, you can select multiple, non-consecutive files by holding ctrl while you click them). Hit ‘Open’. GIMP will use each layer as a frame of your animation.

Now you’re going to want to crop and resize as necessary. In GIMP you crop using this tool: image Click and drag to choose the area you want to keep and hit enter  to crop it. To resize, go Image > Scale Image… You probably don’t want most gifs to be over maybe 250px at most in height or width unless they’re really short.

(If you’re making a Photoset, you might like to know that in rows with one image, that image should be 500px wide. In rows with two images, each should be 245px wide. In rows with three images, each should be 160px wide.)

Part three: Save the animation

Choose File > Export…

image

Give your animation a name and be sure to end it in ‘.gif’.

GIMP will give you these export options, and be sure to check ‘as animation.’

image

In this dialog we can control the speed of the animation. 100ms delay will probably be sufficient, but feel free to adjust as necessary.

For a gif to work on Tumblr, it needs to be under 1MB! If your gif is frozen on Tumblr, you may need to cut down the file size by resizing the image further or removing frames.

Using this process, we can produce a simple gif like this:

image

Yay!

Further Reading From Me

Conclusion

Hopefully now you understand how to make simple gifs on your own. If you run into problems with this tutorial, you can leave me a message in my ask box and I’ll try my best to help you out.

Go forth with the power of gifs!

text. 442 notes.
  1. mcubed1220 reblogged this from arqueete
  2. bellesandrebels reblogged this from arqueete
  3. bluehairedstevo reblogged this from arqueete
  4. penemuel reblogged this from eyesofwitt
  5. michirrelevantpoi reblogged this from eyesofwitt
  6. angelsherlock reblogged this from inashke
  7. inashke reblogged this from evy-lyn
  8. lua75 reblogged this from rmoore79
  9. rmoore79 reblogged this from rubyelaine
  10. evy-lyn reblogged this from mihar