Optimizing Images for the Web-
Do you want to make your site load fast but still look good? This section will tell you how to create fast loading images for your web page.
The Most Common Mistake-
Once, I was asked to look at why a very simple web page will one small image and about 400 words of text took over 1 minute to load.
The answer was simple and is a mistake I see over and over again. The original image, which was large, was scaled to a small image size in a web site creation program, not an image editing program.
DO NOT resize your images in your website design program. The result will be a small image with the same file size.
DO resize your image in your image editing program.
When you resize your image on your web page to the size of a postage stamp, you really have not done anything to the image file size at all. What you are actually doing is telling the browser to re scale the image on the fly. This creates a lot of work for the browser.
The image that you thought is the size of a postage stamp is still that same large 8 x 10 inch image that takes over 2 minutes to download.When you use an image editing program to resize the image, and you save it as a JPEG or GIF, you have actually created a smaller image. Now that postage stamp size image that you saved as a postage size JPEG will now load quickly on your visitor's computer. GIF and JPEG:
Two Image Formats You Need to Know About If you want to optimize your images the first thing you need to know about is the two image formats recognized by your web browser.
These are GIF (pronounced jif as in Jiffy Peanut Butter) and JPEG (pronounced Jay-Peg).
Both JPEG and GIF are compressed. That means that information has been organized inside the file in a special way in order to minimize the file size.
The difference between JPEG and GIF is the way that they compress the data. JPEG compression is designed to optimize photographs or images with fine gradations of color. GIF compression is designed to optimize images with large continuous areas of color, such as illustrations.
link to full article...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment