Opening an image sequence in the GIMP
Open the GIMP. Assuming that you already have a set of images in a directory, and that they are appropriately (sequentially) named and are the same size and file format, you may use the GIMP's FILE: Open as Layers Command sequence to navigate to your images in their directory. Select the oldest image in your sequence as your base image and "multiple select" the rest of the images by using the SHIFT-Select procedure (holding down the shift key while touching the first and last image in a series).


We shall be importing our images into GIMP as a stack of layers.

You may use the image window's File command to perform a number of other operations. Note: you now have two separate and moveable GIMP windows - first, a Tool Palette Window, and second, an Image Window that displays the image and provides a number of menu items which contain functions for work on the image (File, Edit, Select, View, Image, Layer, Tools, Dialogs, and Filters). In recent versions of the GIMP you may view or restore any hidden or closed window you may use the GIMP's Window menu to restore a "Dock" (a moveable window).
Back to the top | Back to the "steps" list
Step 2
|
Working with our Animation images as a "stack of layers"
| |
|

We have added our image sequence into GIMP as a stack of layers using the Image Window's FILE: Open as Layers command. We may "multiple select" more than one image by using the SHIFT-Select procedure (holding down the shift key while touching the first and last image in a series) or the CONTROL-Select to choose or de-select a set of images one at a time.

The Navigation window used by the GIMP is derived from Linux and Unix traditions, and has a different look and feel from the navigation windows Windows or Macintosh users are familiar with. The left-most "Places" window shows disks and directories (which can be double-clicked to enter), the top shows the path to the directory you are in (for example, these images are in a directory at C:\graphics\satfotos-goes-east\goeswest-tpac_water-vapor_pacific). The central window shows the files in a particular directory. On the right there is a preview window that may be used to display a small preview of any partivcular graphic file. You may use commands from the lower portion of the window to filter for any particular file type, or all graphic file types (as in the example above)
|

Once we have imported the first (oldest) image in our sequence, we shall add the rest as a stack of layers. The Dialogs: Layers command will open a new moveable window, the Layers Palette. This palette contains a number of tools for performing operations related to layers (such as re-ordering a layer or layers, working with opacity or transparencies, or modes (properties) for any particular layer, etc.)
You will see your stack of images (stack of layers) in the Layers dialog box. This tutorial does not delve into all the features of layers, but the GIMP is a powerful graphics editor, and much of its power is in the operations that may be performed on files in the layer palette.
|

Now that our stack of image have been imported, we can use the layer palette to re-order them, or delete one, etc. We can test our animation with the animation tools that are available from GIMP's Filters: Animation: Playback command.

The animation playback window has the standard player controls with buttons to start, pause, step-through, and rewind an animation. If there is a glitch or things don't look the way you desire, you may re-order or remove individual layers with the Layer palette. Your oldest layer should be on the bottom, and newest on the top.

|
Back to the top | Back to the "steps" list
Step 3
|
Saving our animation as a GIF format file
The GIMP can export in a large number of graphics file formats, including the popular and well-supported 2GIF file format. GIFs can support animation, although the number of colors is restricted, and this older file format lacks some of the detail of some newer file types (e.g.: PNG and JPG). GIMP also has a lesser known, native file format (XCF) that can be used to save a project with all the layers and properties intact, so that you may exit and re-open the file where you left off. But this tutorial is about creating GIF animation, so we shall use the "File: Save As" command sequence to name and specify where to save our file. (For the purposes of this tutorial we shall name it "satimages01.gif"). The Save As window gives you another specialized navigation window, and some subtle plus and minus signs at the bottom of the window that may be used to expand the list of file type and save location options.

Once you choose "Save" in GIF format you are presented with a smaller "Export as GIF" properties window. We want to make sure that all our images are displayed in an animation sequence so make sure that the button for Save as Animation is selected. Once we select that button and continue via the Export button we are presented with another properties window that permits us to set our frame rate in milliseconds (we shall choose 500 milliseconds, or half a second per frame). Don't be surprised if your GIF file is VERY large (too large in MB file size for practical use in a webpage). we have not optimized or re-sized the image. There are ways to greatly reduce the file size, but we shall save that for another tutorial. You may use your favorite web browser to open and view your animation. Here is a link to an optimized and re-sized (smaller) version of the one used in this tutorial.
| |
Back to the top | Back to the "steps" list
Summing Up
Summing up: Animations in other educational contexts.
Although the tutorial above focuses on a variation of "gif" animation in which a series of photographs is integrated into a moving image graphics file format, there are a host of other useful ways to use animation in the classroom. For example, in some other related activities, the "GIMP Animation" activity available from this link, the free and open source Gnu Image Manipulation Program and the popular open source TuxPaint graphics program are used to create GIF3 animation which can be displayed in all common web browsers. In the "Skeeter" Multimedia Microscope Animation activity available from this link, the free and open-source VirtualDub Program, the free and open-source Audacity audio editor, and a low-cost, popular digital microscope tool program are used to create a multimedia Video animation which can be played with common media players or imported into presentations.
| |
Back to the top
Glossary
1Animation: |
CEL Animation (and the related form known as STOP-MOTION ANIMATION) are among the most traditional approaches to creating an illusion of motion in film. Cel animation is the form used in hand-drawn cartoon animation found in film and television up through the 1980s ("Cel" is short for cellulose - the substance originally used for the transparency upon which a character is drawn - because much of the image is transparent, images can be superimposed on a background). In Cel animation drawings are produced in a sequence with one drawing after another displayed in rapid succession as frames in video sequence. Stop-motion animation works in a similar fashion, except that a model is photographed over and over with small changes to position giving an illusion of motion when the frames are combined into a continuous video. In recent years, computer processing has enhanced the ability of an alternative approaches such as PATH ANIMATION and CGI ANIMATION, with extensive use of computer graphics. MonkeyJam can import images in JPG or PNG format that have been created by either CEL animation or Stop Motion Animation techniques (and others). For more extensive information on stop motion or other animation techniques, see the Brick Films Resource pages at: http://www.brickfilms.com/resources.php
|
2GIF: |
GIF (Graphic Image File format) is a proprietary and widely supported graphics file format that in its most common form incorporates sequential display of layers, permitting animated display. It is limited to no more that 255 colors, and is most often used for simple cartoon-like animation.
|
3GIMP: |
GIMP (The Gnu Image Manipulation Program) is an open-source graphics editor that compares favorably in power and capability with such expensive, proprietary graphics editors as Adobe PhotoShop, or Corel Draw. GIMP is rapidly becoming one of the top image manipulation programs in the world, and it and its source code are available as a free download for all the major operating systems from http://www.gimp.org
.
|
4JPG: |
The JPG (or JPEG) graphics file format is a common image file format that is used for detailed images on the Word Wide Web. It can be compressed at a range of quality and file sizes, and is supported by all the common browsers. It is used to display high quality images in up to 16 million colors, but does not generally support animation in its common form. For more information see the Wikipedia image file formats page at: http://en.wikipedia.org/wiki/Image_file_formats
|
5NOAA (The National Oceanographic and Atmospheric Administration): |
NOAA, the National Oceanographic and Atmospheric Administration, is a United States government agency that studies our Earth and in particular the air and water systems of our world and the activities that impact them. Its home page is http://www.noaa.gov. This tutorial uses Satellite imagery that NOAA makes freely available from the NOAA websites listed below, especially images from the GOES Satellite (Geostationary Operational Environmental Satellite), including the Atlantic and Pacific GOES satellites.
|
6Open-Source: |
By its very nature, open-source software is ideal for the educational environment. It differs from proprietary licensing by requiring that the software be provided at no-cost, and that it remain freely alterable, so that it can be adapted or improved as needed. The source code that makes up the software is transparently available along with the software, so that any member of the programming community may examine it for bugs, and improve or adapt it without violating intellectual property rights. The key provisions in this case are:
1. Free Redistribution
The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The license shall not require a royalty or other fee for such sale.
2. Source Code
The program must include source code, and must allow distribution in source code as well as compiled form. Where some form of a product is not distributed with source code, there must be a well-publicized means of obtaining the source code for no more than a reasonable reproduction cost -- preferably, downloading via the Internet without charge. The source code must be the preferred form in which a programmer would modify the program. Deliberately obfuscated source code is not allowed. Intermediate forms such as the output of a preprocessor or translator are not allowed. Source: OSI (2008). The Open Source Definition, Version 1.9. The Open Source Initiative, Inc. Retrieved January 12, 2008 from http://www.opensource.org/docs/definition.php.
|
7PNG: |
PNG (Portable Networks Graphics) is an open-standard graphics file format that incorporates file compression and millions of colors (as the JPG format does), as well as hidden text comments, and layers (as the GIF format does). The PNG file format was developed for modern web browsers and is slowly becoming more popular as a graphics format for cross-platform image editing. Many Earth science and satellite images on the web are in PNG format (or JPG format).
|
Back to the top
Satellite Image Links
Back to the top
This lesson and all of its screen-capture images were developed by and are copyrighted by B. H. Giza, Ph.D. © 2008. NOAA and United States government agency images are in the public domain as noted on their respective websites. Last updated November 9, 2009 - as of November 2009 this tutorial is under re-design to match the menus found in the latest update of the GIMP.
|