You may have noticed that certain areas of the image appear mottled or spotty when optimized with different color palettes and numbers of colors. This spotty appearance results from dithering, the technique used to simulate the appearance of colors that are not included in the color palette. For example, a blue color and a yellow color may dither in a mosaic pattern to produce the illusion of a green color that is not included in the color palette.
When optimizing images, keep in mind the two kinds of dithering that can occur:
Application dither occurs when ImageReady or Photoshop attempts to simulate colors that appear in the original image but not in the optimized color palette you specify. You can control the amount of application dither by dragging the Dither slider in the Optimize palette.
Browser dither can occur in addition to application dither. A browser dither occurs when a Web browser using an 8-bit (256-color) display simulates colors that appear in the optimized image’s color palette but not in the system palette used by the browser. You can control the amount of browser dither by shifting selected colors to Web-safe colors in the Color Table palette.
In the Photoshop Save For Web dialog box and in ImageReady, you can view application dither directly in an optimized image. You can also preview the additional browser dither that will appear in the final image when viewed in a browser using an 8-bit display.
Dithering creates the appearance of more colors and detail, but it can also increase the file size of the image. The Dither option controls the range of colors that ImageReady simulates by dithering. For optimal compression, use the lowest percentage of application dither that still provides the color detail you require.
1. | If necessary, open the 14Start2.psd file and zoom in to 200% or higher. |
2. | Make sure that the optimized version of the image is selected, and that the Optimize palette is set to GIF format, Perceptual, and 32 colors. Notice the blocky drop shadows below the text. |
3. | In the Optimize palette, enter the following options:
|
4. | Drag the Dither slider to 50%, and then experiment with other dither percentages. ImageReady minimizes the amount of dither in the image, but no percentage of dither will preserve the drop shadows without ruining the green background. For an illustration of the effects of different dither percentages on an image, see figure 14-2 in the color section. |
5. | Set the dither back to 100%. |
6. | Change the number of colors back to 128. |
7. | Use the eyedropper tool () to select the green background in the Tropical Rainforest, and then click the Lock button () in the Color Table palette to lock that color. In the Optimize palette, switch the Colors value back to 32. |
8. | In the image window, change the magnification back to 100%. |
Although the difference may seem subtle, the image is now acceptable.
As you learned earlier, images that include non–Web-safe colors undergo a process of dithering when displayed in a Web browser using an 8-bit display, because the browser simulates colors that do not occur in the 8-bit system palette. From ImageReady, you can preview how an optimized image will look when dithered in a Web browser.
To protect a color from browser dither, you can Web-shift the color, converting the color to its nearest equivalent in the Web palette. Because the Web palette includes the subset of colors that appear in both the Windows and the Mac OS system palettes, Web palette colors will display without dithering in browsers on either platform.
Note
In Photoshop 7.0 and ImageReady 7.0, you can also quickly map one color to another color or to a transparency. This remapping reassigns all the pixels that appeared in the selected color to the new color or transparency. For more information, see Adobe Photoshop 7.0 online Help.
18.116.63.5