Appendix C: Browser Compatibility |
index | previous | next | |||
|
||||
Image Bloat Some things, like image size, need to be taken care of at the source: the image-editing program. Use the right image format. JPEG is better for photographs, and GIF is better for graphics. Use a selective color palette. Depending on the number of colors in your image, you may get a smaller file size by using an Adaptive, Exact, or Custom palette. Experiment. Optimize your JPEGs. (There's usually a checkbox for this somewhere.) Optimization makes the JPEG compress like areas of the image into more logical data chunks. If you don't need the image to have perfect resolution, use the highest possible compression. For multicolored GIFs, try interlacing. Interlaced GIFs load in chunks and generally load faster than non-interlaced GIFs. Don't bother interlacing two-color GIFs or GIFs that are only 5K or less.
|
Faster! Faster!(continued from previous page) If your pages are slow, help is in sight. Most bloat comes from frames, images, Java applets, and plug-ins.
|