A SERVICE OF

logo

271
USING PHOTOSHOP ELEMENTS 8
Optimizing for the web
Last updated 7/26/2011
Create hard-edged transparency in a GIF or PNG-8 file
Use hard-edged transparency when you don’t know the background color of a web page, or when the web page
background contains a texture or pattern. However, keep in mind that hard-edged transparency can cause jagged
edges in the image.
1 Open or create an image that contains transparency, and choose File > Save For Web.
2 In the Save For Web dialog box, select GIF or PNG-8 as the optimization format.
3 Select Transparency.
4 Select None from the Matte menu.
More Help topics
About the GIF format” on page 264
About the PNG-8 format” on page 264
Create a matted JPEG image
Although the JPEG format does not support transparency, you can specify a matte color to simulate the appearance of
transparency in the original image. The matte color fills fully transparent pixels and blends with partially transparent
pixels. When you place the JPEG on a web page with a background that matches the matte color, the image appears to
blend with the background.
1 Open or create an image that contains transparency, and choose File > Save For Web.
2 In the Save For Web dialog box, select JPEG as the optimization format.
3 Select a color from the Matte menu: None, Eyedropper Color (to use the color in the eyedropper sample box),
White, Black, or Other (to select a color using the Color Picker).
When you select None, white is used as the matte color.
More Help topics
About the JPEG format” on page 263
Dithering in web images
About dithering
Most web images are created by designers using 24-bit color displays (which display over 16 million colors), although
some users view web pages on computers with 8-bit color displays (which display only 256 colors). As a result, web
images often contain colors not available on some computers. Computers use a technique called dithering to simulate
colors they can’t display. Dithering uses adjacent pixels of different colors to give the appearance of a third color. For
example, a red color and a yellow color may dither in a mosaic pattern to produce the illusion of an orange color that
the 8-bit color panel doesn’t contain.