| |
Michael's Animated GIFs | |
Quick Links |
| |
Introduction |
An animated GIF is a series of images. The sequence and duration of each image in the series of images is specified by control statements within the GIF file. Animated GIFs follow the GIF 89A standard. Below is a sample animated GIF file and a breakdown of the GIF file as seen by specialized software used to build animated GIF files. | |
One piece of advice |
Okay, even before you think about creating your own an animated GIF, remember, endless animation is right up there with the <blink> tag -- annoying!. Make your animations stop after 5-10 cycles! | |
How do animated GIFs work? |
The internal structure shows the elements of an animated GIF. They include
All of these elements are combined into a single file with the .GIF suffix. The HEADER control identifies the GIF type and base size of the image. The most common type follows the GIF "89a" (that's 'a' as in animated) specification. 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. | |
f.gif
fr.gif
fra.gif
fram.gif
frame.gif
frames.gif
nframes.gif
|
The CONTROL element between the various intermediate GIF images is set at 1 second (100 1/100ths). The last interval is set for 5 seconds (actually 100/100ths + 417/100ths). In addition to timing information, this element can also contain transition information about how the next image is to be display. In these examples, simple replacement is being used. The IMAGE control defines the next image in the series to be presented. This 'noframes' GIF is made up of the 7 images at the left. The COMMENT control provides the creator a place to sign their work as well as add any additional notes about the use and construction of the GIF. The BLOCK NAMES control is a structure unique to the GIF Construction Set utility. |
Animation support |
GIF animation is a browser supported feature, which most browsers support. Most browsers also give users an option to stop animations or turn them off completely
| |
Creative uses |
Unfortunately most of the uses we see currently for animated GIF files are in annoying banner ads or distracting 'widgets' that add little value to the page. However with a little imagination, the animated GIF file becomes an inexpensive teaching tool. The second one takes a while to load, but is worth the wait. The GIFs below is courtesy of arhive.edu which features shareable resources for educators. Another excellent site that showcases creative uses of animated GIF files is the HowStuffWorks site. In fact, they have a separate How Web Animation Works article which contains several of their animated GIFs from their various other articles. | |
If you have samples of other creative uses of animated GIFs, please drop me a line and tell me about them. |
||||
Playtime! |
So does all this seem kind of neat? Want to play a little? You can save any animated GIF that you see on the Web to your local hard disk, open it in an animated GIF editor, and modify it. Here are the steps:
Now you're ready to make your own animated GIF from scratch! | |||
Technical details and other references |
Several readers have asked for more technical details about the 'gif89a' file structure. The first link is definitely not for the 'faint of technology'. It may surprise you to know that the 'gif89a' specification was written way back in July of 1989, long before World Wide Web even existed, much less suported it. The third link contains 150 popular animated gifs. Here are the links:
If you'd like to recommend other good site, I'd be happy to include them here. | |||
| |
About the author | |||
Michael Botos, EDP, has written a number of 'tutorial' pages on Web related topics. Links to his other presentations are available on the learning page. Michael works as a project manager for electronic statement presentment & payment during the day. Most evenings and weekends he cruises the Web pursuing various interests. Michael is an active member of XPLOR, a worldwide association of electronic document & printing professionals. Michael is an accomplished speaker and offers a number of training, mentoring, consulting, and web site development services.
You can reach Michael at mbotos@botos.com. His general home page is at http://www.botos.com/.
| ||||
| Feed the author: | ||||
| What did you think of this set of pages? * (all responses are optional) | ||||
| overall value | length | content level | recommend to others | |
|---|---|---|---|---|
|
One of the Worth reading Put me to sleep! |
Excessive Just right "Where's the |
Geeky Right on! Simplistic |
Yes No | |
| Other comments: | |||
| Your name: | |||
| E-mail address: | * (required for reply) | ||
| Administrivia: | doc ID: http://www.botos.com/train/anigif.html
Copyright © 1996-2005 Michael Botos. revised: 7/7/2005 -- Privacy statement Your comments on presentation style, technical content, and anything else relating to the Web are always welcome. Send them to me at mbotos@botos.com. |