32.4. Creating Animated GIFsRegardless of the tool you choose, the process of creating an animated GIF is about the same and involves making decisions about a standard set of features and options. The exact terminology may vary from tool to tool, but the concepts and settings are consistent. 32.4.1. Frame DelayAlso called "interframe delay ," this setting specifies the amount of time between frames. Frame delays are measured in 1/100ths of a second. You can apply a different delay time to each frame in the animation to create pauses and other timing effects. This differs from digital video formats, in which the delay between all frames is consistent. 32.4.2. TransparencyYou can set transparency for each frame within an animation. Previous frames will show through the transparent area of a later frame if disposal methods are set correctly. If the background frame is made transparent, the browser background color or pattern will show through. Don't be surprised if the transparent areas you specified in your original graphics are ignored when you import them into a GIF animation utility. You may need to set transparency in the animation package. Some standard transparency options include:
32.4.3. Disposal MethodsThe disposal method gives instructions on what to do with the previous frame once a new frame is displayed. Most GIF animation utilities offer "optimization," a file size-reducing process that takes advantage of the fact that previous frames will "show through" transparent areas of a later frame. In order for this process to work, the disposal method must be set to Do Not Dispose (or Leave Alone, Leave As Is, and the like). With this method, areas of previous frames continue to display unless covered up by an area in a succeeding frame. The most common disposal method choices are listed here, but not all of these are available in all animation tools.
The effects of each of these disposal methods are compared in Figure 32-1. Figure 32-1. Disposal method comparisonIn ImageReady, you access the disposal method by right-clicking (Windows) or Control-clicking (Mac) to reveal the disposal options (Automatic, Do Not Dispose, and Restore to Background). In Fireworks, you access the disposal settings via a trash can icon on the Animation panel of the Export Preview. Select the frame and then choose from Unspecified, None, Restore to Background, or Restore to Previous. 32.4.4. Color PaletteAnimated GIFs, like static GIF files, use a list of up to 256 colors that can be used in the image. They can have multiple palettes (one for each frame) or one global palette. The palette choice affects how well the images appear on the inevitable variety of systems and monitor setups. One problem with using multiple, frame-specific palettes is that they can cause a flashing effect on some early versions of Navigator (it cannot load the frames and their respective palettes in sync). In any case, multiple palettes dramatically increase file size. It is recommended you use one global palette for the whole animation. GIFMation and Ulead GIF Animator allow you to create a customized global palette. In fact, any image editor can be used to create a global palette. Just place all images to be used in one document, and then index the document. The resulting palette will be a global palette for the entire animation. 32.4.5. Other OptionsThe following are descriptions of other aspects of animated GIF files that can be set within most animation programs.
32.4.6. Starting PointsThese settings are a good starting point for creating full-frame animations:
|