include "_i/1.h" ?>
It's a challenge in working with images on the web: One would like to show people gorgeous, large graphics, with lots of detail, but good quality and large display size also mean larger file sizes, and thus slower download times. We've dealt with making graphics smaller (thumbnails). Today we'll see what other 'knobs we can turn' in the process of creating gif and jpg images in Photoshop.
The traditional wisdom is that the 'gif' format works best for images with a limited number of colors, and the 'jpg' format works best for photographic images with many colors and subtle color gradients. In this lab, we'll experiment with image compression methods on two images, examining file sizes and qualities resulting from a wide range of techniques.
Your lab page will show four images:
Additionally, you'll write up, for each image, what settings you used to save the file, and what the resulting file size was.
For the first image, download this png-format image of text on a two-colored background.
For this fox text image, experiment with the various 'gif' options (see below) save a copy of the image with whatever options you feel give an 'acceptable' image quality with as small a file size as possible. Then, save a copy of the image with whatever 'jpg' options you feel give the best compromise of file size and image quality.
Create a web page and insert the two images onto the page. We won't bother with thumbnails this time! Write a caption for each image saying what options you choose, and the resulting file size. Indicate whether the 'gif' or 'jpg' options worked out best for this image. Which of these two images ended up smaller overall?
For the second image, download this photo of Kent's 'wedding'.
As with the fox text image, try various 'gif' options and 'jpg' options, and save the one of each that you feel represents the best you can do. Add these two images onto the web page you started above, and caption them with options and filesizes.
In the end, you'll have a web page with four images and descriptions of each. Hand it in, that is, e-mail the URL to Paul.
We'll use Photoshop to optimize images for the web. For each image, you'll
In GIF mode, Photoshop has several different choices for picking which colors out of the 16 million possible ones to use in its 'palette'. (The tool tip for this option is 'color reduction algorith'.) The main ones to consider are: Selective chooses the, for example, 16 most common colors in an image; Adaptive chooses 16 colors which represent some kind of averages of the most common colors, and these 16 may or may not be in the original image; Web chooses e.g. the 16 closest colors in the websafe palette. (Remember, Paul advises that you do *not* worry about sticking to "websafe" colors anymore.)
For the two images in this lab start with a diffusion dither set to 90%, and the Adaptive web palette, and 16 colors. Then vary the following three quantities in search of the best file size and image quality: