Graphics °æ (¾«»ªÇø)
·¢ÐÅÈË: killest (ì¶Ü), ÐÅÇø: Graphics
±ê Ìâ: PHOTOSHOP(103)-Saving and Exporting
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Fri May 8 17:55:40 1998), תÐÅ
6 If you have loaded a custom palette or chosen
the System palette option, select Use Best Match to
use the colors from the palette that best represent
the image.
7 If you have chosen the Adaptive palette option,
select or type in the smallest number of colors that
retains the necessary detail in your image.
Note that the effect of reducing the number of
colors on the file size will vary significantly with
images of different dimensions and color content.
In small-sized images, the effect on file size is insig-nificant.
Note: You can reduce the number of colors in an
image only when exporting an RGB image to GIF. To
reduce the number of colors in an indexed-color
image, convert the image to RGB mode, and then
export the image using the GIF module.
8 To see how the image will appear in the Web
browser, click Preview.
9 To navigate the preview, use the following
methods: To move the image within the preview window,
select the hand tool and drag over the image. To fit
all of the image in the window, double-click the
hand tool (H). To increase the magnification, select the zoom-in
tool and click the part of the preview that you
want to magnify. For a 100% preview, double-click
the zoom-in tool ({). To reduce the magnification, hold down Option
(Macintosh) or Alt (Windows) and click the part
of the preview you want to reduce.
To use the viewing tools quickly when
working in the GIF89a Export Preview, use
the following shortcuts: To activate the zoom-in tool, press Com-mand
(Macintosh) or Ctrl (Windows).To activate the zoom-out tool, press Option
(Macintosh) or Alt (Windows). To activate the hand tool, press the spacebar.
10 Click OK to close the preview window.
11 If dissatisfied with the results, hold down
Option (Macintosh) or Alt (Windows) and click
Reset to restore the colors in the image. Repeat
steps 3 through 8 as needed.
12 To determine how the image displays as it is
downloaded in the Web browser, do one of the
following: Select Interlaced to display the image gradually
in increasing detail as it is downloaded. Deselect Interlaced to use your image as a back-ground
or texture.
13 If the file contains a caption that you want
to include as a comment in the GIF header, select
the Export Caption option. For more information,
see “Adding file information” on page 307.
14 Click OK to export the file. Choose a location
for the exported file, and click Save.
Exporting indexed-color images to GIF
When you export an indexed-color image to GIF,
you use the GIF89a Export dialog box to choose
transparency options for the GIF image. You can
select more than one color to be transparent. For
315
information on indexed-color images, see
“Indexed color mode” on page 69 and “Converting
to indexed color” on page 76.
For the most control, however, you may want to
convert your image to RGB, create transparency in
Photoshop using layers, and then convert the RGB
image to GIF. Creating transparency in RGB mode
lets you feather transparent areas. Converting to
GIF from RGB also lets you reduce the number of
colors in an indexed-color image. See the previous
section, “Exporting RGB images to GIF,” for more
information.
To export an indexed-color image to GIF:
1 Choose File > Export > GIF89a Export.
2 To define specifically colored areas of the image
as transparent, click the eyedropper-plus tool and
click the desired areas in the preview or the desired
colors from the swatches. Then do one of the
following: To make transparent areas the same color as the
browser window background, leave the Transpar-ency
Preview Color box at its default. (The default
is Netscape gray—192 R, 192 G, and 192 B.) To change the color used for displaying trans-parent
areas, click the Transparency Preview Color
box. Choose a new color, as described on page 225.
Click OK.
Note: If your background color is the same color as
another element in the image and you want only the
background to be transparent, you must create an
alpha channel to mask the background. See the next
section for instructions.
3 To designate additional colors in the image as
transparent areas, click the eyedropper-plus (5)
tool and click the colors in the preview or in the set
of swatches. The selected colors appear high-lighted
in the swatches.
4 To preview the image, follow the navigation
guidelines described in step 8 of the previous
procedure.
5 If dissatisfied with the results, do one of the
following: To restore a single color in the image, hold down
Option (Macintosh) or Alt (Windows) and click
the eyedropper-plus tool to switch to the
eyedropper-minus tool. Click a swatch to restore
the color.
To activate the eyedropper-minus tool
while the eyedropper-plus tool is selected in
the GIF89a Export Preview, press Command
(Macintosh) or Ctrl (Windows); to activate
the eyedropper-plus tool while the eyedrop-per-
minus tool is selected, press Shift. To restore all colors in the image, hold down
Option (Macintosh) or Alt (Windows) and click
Reset. Repeat steps 2 and 3 as needed.
6 Select or deselect the Interlaced and Export
Caption options, as described in steps 11 and 12 of
the previous procedure.
7 Click OK to export the file. Choose a location
for the exported file, and click Save.
CHAPTER 13 316
Saving and Exporting Images
Exporting an indexed-color image to GIF
with a transparent background
If you are exporting an indexed-color image to GIF
and want only the background to appear transpar-ent,
you may want to use an alpha channel to mask
the background first. For example, certain ele-ments
in your image might have the same color as
the background; if you define the background
color as transparent, these elements will also
appear transparent. By using a mask, you can
apply transparency to just the background without
affecting the elements that you want to remain vis-ible.
See Chapter 10, “Using Channels and Masks,”
for complete information on alpha channels.
Alternatively, you can convert the image to RGB
mode, place the foreground selection on a new
transparent layer, and hide the background before
exporting the image to GIF. Converting the image
to RGB lets you feather your selection and reduce
the number of colors in an adaptive palette image
when you convert the image to GIF (see “Export-ing
RGB images to GIF” onpage 311). See Chapter
11, “Using Layers” for more information on work-ing
with layers.
To export an indexed-color image to GIF with a
transparent background:
1 In the image, select the area that you want to
remain visible.
2 Click the Save Selection button at the bottom of
the Channels palette to create an alpha channel
based on your selection. Note the name of the
channel in the palette.
3 Choose File > Export > GIF89a Export.
4 For Transparency From, choose the alpha
channel that you just created.
To invert what will be transparent in the
image, hold down Option (Macintosh) or Alt
(Windows) as you choose a channel for
Transparency From in the GIF89a Export
Options dialog box.
5 Choose additional export options as described
in the previous procedure, “To export an indexed-color
image to GIF.”
6 Click OK to export the file. Choose a location
for the exported file, and click Save. The extension
.gif is added automatically to the filename.
--
oo
il bb yy il ..... Óë¶ûͬÏûÍò¹Å³î
i bbb ll yyy i
iii bb yy iii
oo
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: victor.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.549ºÁÃë