R. Craig Collins > Web Page Design > Gif animation
GIF Animation © R. Craig Collins, 2005/6
Creating an animated .gif file is actually a pretty straight forward proposition, requiring just three basic steps: create the original images, import the images into an assembly program (such as Gifcon32 or unFREEz), then optionally add controls. Create a new image, defined at 256 colors, in the size desired. The smaller
the better. For this example, an image, below, was defined about 100 by 100 pixels.
If using Microsoft Paint
Click here is using Windows 7 version of Paint
-->
If you are using Paint to create your .gif file, you may want step by step directions.
When complete, save as a .gif file.
Repeat the creation process, making sure that the images are the same size. Below, all the images use the same default palette of colors, and are the same size, in this case 50 X 50.
There are many tools that you may choose to animate the above files. A simple,
free program, is unFREEz, available at
http://www.whitsoftdev.com/unfreez/
You simply drag your .gif files in, and set the frame delay between the images.
View a video on using unFREEz
An important note is that many graphic programs cannot display the resulting animation... you may need to use your browser to view any animation you create. (Right click the file, Choose View With and choose your browser)
Another project, using small insertions ...
THIS ANIMATION MAY NOT WORK CORRECTLY WITH NETSCAPE NAVIGATOR;
a new, cross-platform version is under construction.
Navigator does not implement the standard 'replace by previous'
attribute, forcing me to cover the final movement with a static shot using the
'remove by nothing' attribute...
Open a program similar to Gifcon32, a .gif construction tool. | Download a copy of gifcon from Alchemy Mindworks here. |
You may be prompted to use the global palette of 216 colors; this is highly recommended to allow display without color shifts on systems using 256 colors.
Editing the controlsEdit each control and set the delay; 30-70 is a good range that works well on most computers. Do NOT use 0, or the .gif will misbehave! Then set the replacement to Replace by Background, NOT Replace by Image as it again will misbehave on some browsers.
Creating transparent backgrounds You may also set the background to be transparent here. To do this, click
on the dropper tool, then click on the color to be transparent when the image
is displayed. You are now ready to save the new 'package' (using a name not
used by one of the single images is preferred).
You may set a single image to have a transparent background here, simply by
inserting the image, insert the control, set the color to be replaced, then
save.