Alexander’s Blog

November 1, 2007

Compressing GIF or JPEG Graphics in Photoshop CS3

by @ 5:00 pm. Filed under Applications, Internet/Web, Tips & Tricks

If you are working with graphics on your Web site, it is a good idea to compress them so they will be smaller in size and will load quickly in the browser. Author John Lee has written an article in his blog on TechRepulbic’s Web site that explains the steps in detail. The author describes when and how to compress graphics.

An easy way to remember when it is appropriate to compress a graphic as a GIF or a JPEG is this simple mnemonic:

* JPEG - Just for Photographs and Gradients

JPEG stands for Joint Photographic Experts Group, and its compression scheme operates by dropping information from a graphic and then filling in the missing data with blurry artifacts based on adjacent colors in the picture. JPEG compression is best used for photographs and graphics that feature a lot of gradients.

* GIF - Graphics with Flat colors

GIF stands for Graphic Interchange Format, and its compression scheme works by dropping colors from a graphic. The maximum number of colors a GIF can hold is 256, and any colors that are dropped in the compression process are gone forever and are not interpolated by the Web browser. GIF compression is best used for graphics that have areas of flat colors with minimal (if any) gradients.

Click here to read the entire article.

Leave a Reply

Comment spam protected by SpamBam

Contact E-mail | Terms of Use | Privacy Policy

Copyright ©2008 Zubair Alexander. All rights reserved.

Internal Links

Categories

Search Blog

Archives

July 2008
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
28293031  

RSS Feeds

TechGalaxy Visitors

29 queries. 0.364 seconds