magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1997 > 06 > Features  

Optimizing Animated GIFs

Take the Penguin Challenge

By Andrew B. King

In the sixteen months since they first appeared on a Web page, animated GIFs have spread through the Web like wildfire, and with good reason: They're easy to make, easy on servers, and ideal for smaller animations. Finding GIF images that are browser friendly and small in file size is another matter, however. This article shows how to create what we think are the smallest possible animated GIFs. If you think you can do better, we invite you to take the penguin challenge (more on this later). I'll walk you through an animation we optimized for coolcentral.com, and discuss the specific issues, techniques, and available software.

Background

Webmasters usually base a site's design constraints on its content and its visitors' available bandwidth. The typical maximum size for a Web page, including all its embedded objects, ranges from 20 to 30K per page, which translates into an average total download time of about 10 to 15 seconds for a 28.8 modem.

When we designed coolcentral.com, we wanted an eye-catching look with lots of movement that didn't take long to download. We set a limit of 30K total per page and chose a single visual theme: an iceberg, with melted portholes showing movement outside the berg. The first two pages have four animations, a static logo, and a seamless background "ice" JPEG. Feathering the foreground graphics made the background graphic appear to be the foreground, and vice versa. After deducting for our 1.2K background and 4K of text, we realized each GIF could be no greater than 5K in size.<>




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2