• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Using Web Pictures Intelligently > Managing Picture Palettes

Managing Picture Palettes

Pictures that contain large, flat, solid-color areas often appear properly in an editor or a stand-alone viewer but appear grainy in browsers using 256-color display adapters. To correct this problem, you need to convert the picture’s palette. A palette is simply a collection of colors, and most picture editors can store, edit, and save palettes—both with individual pictures and as stand-alone palette files. If you open a picture with one palette and then open a palette file that defines another palette, most editors provide several options to reconcile the differences. For instance, you can usually convert each pixel in the picture to the nearest color in the new palette. If the palette consists solely of the 216 browser-safe colors, each pixel in the original picture takes on a safe color value. Your visitors’ browsers won’t perform dithering or color substitution on pictures you convert in this manner.

For more information about the 216 safe colors, refer to “Achieving Accurate Rendition—Safe Colors,” on page 507.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint