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 > 1996 > 12 > Features  

Optimizing Web Graphics

The Bandwidth Shortage

By Andrew King

If the Web seems slow to you, you're not alone. The network's backbone, which can handle up to 155 Mbps (soon to become 600 Mbps), isn't the problem. Instead, it's what happens at each end that frustrates users. The increasing size of digital media and lack of server bandwidth are the main culprits. More bandwidth won't necessarily solve this problem. What will help is minimizing the amount of data that travels through this bandwidth. Graphics dominate the size of most Web pages today, and the secret of shrinking graphic-file size is to reduce bit depth, resolution, and dimension while preserving image quality. This classic size-versus-quality tradeoff is the key to the art and science of graphics compression. This article will show you how to minimize file size and dithering for Web graphics.

Color Palettes

The two ways to store color raster images are indexed and RGB. Indexed formats are mapped to a 256-color (or less) lookup table (CLUT) or color palette. RGB, or "true-color," formats use eight bits (0ý255) for each Red, Green, and Blue value to form a 24-bit (8+8+8=24) pixel palette that can hold one of 16.7 million (224=16,777,216) colors. Some formats support even higher bit depths, useful for medical imaging or smooth transparencies.

A CLUT is a digital version of a paint store's color-mixing chart: It contains up to 256 entries, each with its own formula for a specific color. Indexed images refer to each color by its position in this palette.




  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