Adobe Web Tech Curriculum

Unit 5: Introduction to Graphics

Lesson 5.4: Photoshop Image and Color Basics

Optimizing Images Using Save for Web

We'll talk about other ways to optimize images for the Web when we get to the Graphics 2 portion of the curriculum, but for now, the last option we will discuss is using the Save for Web file option. There are many options and multiple steps involved in using the Save for Web option; let's take a look.

The Save for Web Window

To begin the process of saving a file for the Web, make the following menu selections:

Notice the four tabs at the top of the Save for Web window (see Figure 5.4-2):

  1. Original -- This tab displays the original image, including the filename and file size. The original image is not optimized.
  2. Optimized -- This tab displays the image with current optimization settings. Information provided includes file format, optimization settings, file size, and projected download time, given the identified modem speed. The projected modem speed can be changed by opening the Preview Menu Control Button (located at the upper right of the preview panes) and selecting the desired modem speed.
  3. 2-Up -- This tab displays the original image and the optimized image side-by-side for comparison purposes.
  4. 4-Up -- This tab displays four image previews. Various optimization settings can be selected and compared in this tab.

Also notice the Image Size tab in the lower right quadrant of the window. Photoshop allows the image size to be changed from within the Save for Web window. The options available in the Image Size tab are similar to those in the Image Size dialog box discussed previously.

Photoshop Save for Web Window

Figure 5.4-2: Photoshop Save for Web Window

Demonstration or Practice Activity

  1. In Photoshop, open one of the .jpg files from the Image Thumbnails page.
  2. Make any adjustments to it you like regarding image size, color depth, etc.
  3. Select File > Save for Web.
  4. Select the Original tab to see the original image and its relevant information.
  5. Select the Optimized tab to see the optimized image and its relevant information.
  6. Select the 2-Up tab to see the comparison of the original and the optimized image.
  7. Finally, select the 4-Up tab to see the original image and three optimized images, each using a different optimization. How do the images differ?
  8. Click the Cancel button to exit the Save for Web window without saving.

Optimizing JPEG Images

There are specific optimization settings available for JPEG images, the most important being the Quality setting. Photoshop provides several quality presets accessible via the Settings drop-down field:

  1. JPEG Low -- This preset sets the image quality to 15.
  2. JPEG Medium -- This preset sets the image quality to 30.
  3. JPEG High -- This preset sets the image quality to 60.

Additional settings are available in the manual definition area of the Settings section (see Figure 5.4-3). To manually set the quality:

  1. Select the Quality field.
  2. A slider will appear. Move the slider to the desired quality setting. It is important to note that the Low setting has a range from 0 to 30 on the slider; Medium has a range of 30 to 60; High has a range of 60 to 80.
  3. Clicking the drop-down arrow next to the Compression Quality field (area where the words Low, Medium, etc. appear) will produce one additional option, i.e., Maximum, which ranges from 80 to 100 on the quality slider.
Save for Web JPG Optimization settings

Figure 5.4-3: Save for Web JPG Optimization Settings


Demonstration or Practice Activity

  1. In Photoshop, open one of the .jpg files from the Image Thumbnails page.
  2. Select File > Save for Web.
  3. Select the image option to the right of the original image.
  4. Select the JPEG Low setting from the preset options.
  5. Select the image option just below the original image.
  6. Select the JPEG Medium setting.
  7. Select the image option below and to the right of the original image.
  8. Select the JPEG High setting.
  9. How are the images different? File size?
  10. Select the JPEG Medium image and use the Quality slider to see the difference in the image as you move the slider back and forth.
  11. Click the Cancel button to exit the Save for Web window without saving.

Optimizing GIF Images

Photoshop has several available preset settings for optimizing GIF images (see Figure 5.4-4): GIF 128 Dithered, GIF 128 No Dither, GIF 32 Dithered, GIF 32 No Dither, GIF 64 Dithered, GIF 64 No Dither, and GIF Web Palette. Each of these preset settings uses the Selective palette by default, except the GIF Web Palette option, which uses the Web palette. As with the JPEG settings discussed above, each of the GIF settings can be manually set. For instance, the level of lossy compression (not used in the presets) can be set using the Lossy slider. Notice that the number of colors can be changed here as well as in the Indexed Color dialog box discussed previously.

Save for Web GIF Optimization Settings

Figure 5.4-4: Save for Web GIF Optimization Settings


The Web Snap option determines how to reduce colors used in the image via the Color Table. The Web Snap range goes from 0%, which indicates the current color reduction method is being used, to 100%, which indicates that the color reduction will involve only those colors within the Web safe color palette.

Demonstration or Practice Activity

  1. In Photoshop, open one of the .jpg files from the Image Thumbnails page.
  2. Select File > Save for Web.
  3. Note the three optimized images created by Photoshop. What are their settings? How do they look in terms of quality?
  4. Notice the Color Table that shows the colors actually used in the image.
  5. How many colors appear in the Color field? More than in the Color Table? If so, what would you do?
  6. Make adjustments by choosing the various GIF preset options.
  7. Adjust the palette being used. How does that impact image quality?
  8. Adjust the compression level. How does that impact image quality?
  9. Make adjustments to the number of colors. How does that impact image quality?
  10. Make adjustments to the dithering. How does that impact image quality?
  11. Make adjustments to the Web Snap field. How does that impact image quality?
  12. Click the Cancel button to exit the Save for Web window without saving.