Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an animated gif which, as originally created, animates once then stops. I want to modify the image file so it loops forever instead.

What free applications or command-line utilities for Mac OS X can I use to do this? I've found several GIF utilities that can create new animations, but none that let me tweak the properties of existing ones.

share|improve this question
1  
do you want it to loop permenantly, so that you will change the file? Or do you want to change a setting locally on your computer to make this work? –  Daisetsu Jul 1 '10 at 23:59
    
I want to modify the file, not the app displaying it. I'll edit the question to clarify. –  Brant Bobby Jul 2 '10 at 15:15

4 Answers 4

up vote 9 down vote accepted
+50

Solution involving the Terminal :

  1. Download the sources of Gifsicle
  2. Unpack the sources and go to the unpacked directory
  3. Do ./configure --disable-gifview --disable-gifdiff
  4. Do make
  5. Do cd src
  6. And finally do ./gifsicle -bl /path/to/image.gif

Solutions using GUI tools (I didn't test any them !):

  1. You can try GifBuilder (requires Rosetta to work with Snow Leopard).
  2. Pixen also seems to be a Gif Editor.
share|improve this answer
1  
Gifsicle is definitely the tool for the job. I found it so useful I build a install pkg with binaries for easy deployment, no XCode required. dept.psych.columbia.edu/~peter/gifsicle –  notpeter Dec 15 '11 at 7:18
    
@notpeter How do you use this once you've installed it? –  Ashley Ward Aug 17 '12 at 23:32
    
to expand on your answer, here's what worked for me: first install with Homebrew like a boss: brew install gifsicle then make the loop: gifsicle -l non_looping.gif > looping.gif –  Michael Sep 12 at 14:03

GIMP can edit animated GIFs; open the image in that then save it again. You will be asked a few questions, and one of the available options is to loop forever.

It is apparently possible, or even easy, to install GIMP on OS X, but I can't say I've done it,

share|improve this answer

See Michael's Animated GIFs guide.

It describes the GIF Construction Set utility that can display the internal structure of the animated GIF (unfortunately not for OS X). Especially of interest is:

The LOOP control specifies how many times the series of images will be presented. While many animated GIFs are on infinite loop, this can be distracting to the user. This 'noframes' GIF cycles 5 times.

image

It's harder to find free OS X utilities for editing GIF files, especially since I'm not a Mac user. One that seems to fit the bill is Gifsicle, which can set the loop through the "loopcount" parameter.

share|improve this answer

Bear in mind that it also depends on the application you are using to display the animated GIF.

For example, Firefox's display of animated GIFs can be changed through about:config:

image.animation_mode = normal | once | none

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.