Fireworks Lesson 2-3:
Optimizing & Exporting
Graphics
About Exporting Images
One of the most satisfying moments when working in creating graphics
for Web Design is when you put the final touches on your artwork. You
have created a wonderful image for your site, but how do you get it there? It
is usually best to fine-tune the settings of your files before you export
them to be used in another program
You can use the Fireworks Export Wizard and the Optimize panel to make
the fine-tuning needed to create the best-quality images with the smallest
file size. Seven different file formats are available for your
export files, depending on the purpose you have for them.
The native format for Fireworks is PNG. You should always
keep a copy of your original PNG files, in addition to the exported files
you create. If you needed to make changes to any of your images,
simply change the PNG file and export it again.
There are two ways to export files from Fireworks. One is to follow
the step-by-step advice of the Export Wizard. The second is to
optimize the file manually by using the settings on the Optimize panel
and then export the file by using the Export command or the Quick Export
feature.
Optimizing and Exporting GIF images
GIF images are generally used for line art and images with solid colors. GIF
images can contain transparent areas and can be used for animation files. If
you choose GIF as your export file format, you need to pick the color
palette for the export. The disadvantage of GIF images is that
they are restricted to 256 colors.
A color palette is a group of colors from which the image is created. Fireworks
contains several preset palettes. The following table describes
these default palettes:
Palette Name |
Description / Major use |
Adaptive |
Creates a custom palette containing the majority
of the colors in the image. |
WebSnap Adaptive |
Creates a bridge between the Web 216 palette and
the Adaptive palette. Colors within a tolerance of seven
color steps are snapped to the closest Web-safe color. |
Web 216 |
A palette of the 216 colors that have a similar
appearance on both Windows and Macintosh computers. This
is sometimes called a Web-safe or browser-safe palette because
it generates the most consistent results on different platforms
and different browsers. |
Exact |
Contains the exact colors in the image when the
image contains 256 colors or fewer. |
Macintosh, Windows |
Contains 256 colors as defined by either the Windows
or Macintosh system colors. |
Grayscale |
A palette of 256 (or fewer) shades of gray. Using
this palette converts your image to grayscale. |
Black & White |
A palette of only two colors: black and white |
Uniform |
A mathematical palette based on the RGB pixel values. |
Custom |
Gives the user the option of importing another color
table (an *.act) file). You can also import another GIF file
that contains the colors you want to use. |
Optimizing and Exporting JPEG images
Use JPEG to export photographs or any artwork with gradations or millions
of colors in the image. JPEG files cannot be transparent or animated. Unlike
GIF files, JPEG images don’t need a color palette.
JPEG uses a lossy compression scheme, which means it looks at your
image and removes information as part of its compression process. This
causes a loss in quality. You set the level of quality to control
the amount of compression on the Optimize panel.
Previewing before Exporting
You can preview your
image within the document window before exporting them. The Preview
tab displays the graphic as it would appear in a Web browser, based on
your optimization settings.
By splitting the window into two or four preview panes,
you can compare multiple optimization settings side by side before exporting. Fireworks
also displays the file size and the approximate download time within
each preview box.
Task 1 - Cropping your Finished Image to Exact Size Needed
- Create a new folder in your Fireworks folder, named Lastname
Exports.
- Open your medal.png file.
- Click the Selection tool and make sure that all objects are deselected.
- In the Properties Panel, click the Fit Canvas button.
All the empty space of your canvas is removed.
- If your canvas still has some open space, search in the open space for stray objects you did not intend to keep. Select and delete any unneeded objects and Fit Canvas again.
- Keep your file open for the next Task.
Task 2 - Selecting & Previewing GIF Optimization Settings, Exporting
a GIF Image
You can also select your
optimization settings by using the Optimize panel.
First you must determine which type of file you plan to export, such
as GIF or JPEG. You can then select the detailed settings.
- To remove
the background color, deselect all objects and in the Properties Panel, click the Canvas color box. Choose the red stroke (no color).
- Look at the right side of your Fireworks screen. If you see a little triangle arrow pointing to
the word Optimize, click the arrow to open the Optimize panel.
- Click the down-arrow next to the Export file format box.
- Select GIF.
- Click the down-arrow beside the Indexed Palette box.
- Select
Web Adaptive.
- You can set the number of colors for the palette by using the Colors
down-arrow.
- Set the Colors to 128, and Dither at 0%
- On the top gray bar of the main window, click the 2-Up button.
- Examine the information listed at the bottom of the windows - the settings are shown, along with the relative file sizes of the original and the exported GIF. The time entry is the download time for the exported image.
- Click in the Original image window. From the Transparency drop-down list, choose Index Transparency.
- Click Rebuild to update the palette based on your current selection
and the colors in your image.
- Notice that the stripes on your medal turned 'transparent' along with the background - Index Transparency removes all instances of the background color, in this case white, so the stripes changed.
- Switch back to No Transparency, the select Alpha Transparency.
- Choose File, Export to open the Export dialog box.
- Save the file in your Exports folder using the same
filename and a .gif extension, with Images Only as the Save as type.
- Close the file without saving the PNG version. Leave Fireworks
open.
Task 3 - Selecting & Previewing JPEG Optimization Settings, Exporting
a JPEG File
- Open your venicecanal.png file.
- If you have not already done so, fit the canvas to the image.
- On the Optimize panel, choose JPEG as the Export file format.
- Click the Preview tab at the top of the document window.
- Click the 2-Up tab. If necessary, size the document window
so you can see both panes.
Highlight the value in the quality box and enter 100.
- Change the Quality value to 95. The image
should not significantly change quality, but the file size is smaller.
- If necessary, change the value in the Smoothing box to 0.
- Choose File, Export to open the Export dialog box.
- Save the file in your Exports folder using the same filename with the .jpg file extension, and
with Images Only as the Save as type.
- Close the file without saving the PNG version. Leave Fireworks
open.
Task 4 - Choosing Whether to Export as GIF or JPG
Sometimes you may have an image that contains photographic content, as well as areas you would like to be transparent, such as a feathered frame, or a composite of several photos. You will need to make some choices - if you need quality in the photo images, you will want jpg, but you cannot have transparency. If you really need the transparency, you may have to sacrifice photographic image quality.
- Open your bitmapintro.png file.
- Click the 2-Up tab. If necessary, size the document window
so you can see both panes.
- Click the preview image and use the Optimize panel to change its
format to GIF.
- Click the 4-Up tab. This tab shows one original and three GIF
preview options.
- Click the preview image in the upper right corner; choose 256 for
the value in the Colors box. Click the lower right preview image
and choose 128 for the color value.
- Choose JPEG as the Export type for the remaining preview image. You can compare results of different optimizations settings
by experimenting with the preview panes.
- Choose Alpha
Transparency for the two preview panes on the right.
- Examine the Preview panes closely - note the difference in the quality of the GIF choices. You decide whether it is better to keep the background to keep the better quality of the JPG, or whether to keep the transparency along with the best quality possible as a GIF
- Click the preview pane you choose to keep, thenclick the Original tab to accept the settings in the selected preview
pane.
- From the File menu, choose Export.
- Save the file in your Exports folder using the same filename, the appropriate extention, and
with Images Only as the Save as type.
- Close the file without saving the PNG version. Close Fireworks.
Task 5 - Export the rest of your Fireworks files
- Open each of the rest of your lesson files, one at a time.
- Crop away any extra empty canvas around your Vector images.
- Use the 2-Up or 4-Up views to choose your optimization settings.
- Optimize Vector images as GIF files with appropriate color and transparency settings.
- Optimize Bitmap images that cover the entire canvas as JPG files with appropriate quality settings to make the file size as small as possible without visibly compromizing quality.
- Optimize any Bitmap images with visible background canvas as you choose, to make the best-looking export.
- Export each file to your Exports folder using the same filename
and the appropriate file extension.
- Close Fireworks when you are finished.
Place a copy of your Exports folder in the WebDesign Dropbox.
|