Xara Webster 2.0 - Creating a Button Bitmap

This page shows you how to create a bitmap button for a web page using Xara Webster like this :

The step by step instructions show you how to import a button from the Clipart Gallery, change its color and export it as a GIF file.

1. Import the Button

    1. Open the Clipart Gallery by choosing Clipart Gallery from the Utilities menu.
    2. Scroll down the gallery until you reach the button or image you want to load.
    3. Click on the image to select it.
    4. Click the Import button at the top of the Clipart Gallery.

2. Set the Background

Xara Webster uses a technique called anti-aliasing to make the edges of objects look really smooth. It's almost like creating a tiny fade between the object and its background. To get the best results, it's important to create the bitmap with the correct background behind the image so when the edges are anti-aliased, it's done using the correct background colors. For more information on this, see Creating Smooth Bitmap Edges.
  1. Decide the color of the background behind the button. The buttons are designed for display against a white background but you can easily change this. If you want a white background, just ignore this section.
  2. To set the background to a color, create a new color in the Color Gallery, click on it and click the Background button. Or to set the background to a bitmap, select the bitmap in the Bitmap Gallery or the Fill Gallery and click the Background button (you may need to download the file first).

3. Change the Color of the Button

  1. Open the Color Gallery. The section for your drawing will show one or more colors. One color will be called "Button color", "Button Red" or similar. (The name depends on which button you've imported.) This is the color you want to edit.
  2. Click on the color in the Color Gallery to select it.
  3. Click the Edit button in the Color Gallery. This opens the Color Editor and displays Button Color ready for editing.
  4. Make any required changes. For example, make the button blue.
  5. When you have finished changing the color, click the "Browser Palette" button in the Color Editor. This snaps the color to the nearest color in the Netscape Navigator and Internet Explorer palette. Using colors from this palette gives better results in the final image.
  6. If you wish, you can close the Color Editor and Color Gallery. This gives you more space on the screen.

4. Create the GIF File

  1. Select only the button. Make sure the background rectangle (if you used one) isn't selected.
    1. If the Selector Tool is not the current tool, choose it.
    2. Click on the button to select it.
  2. Open the Export dialog box. (Choose Export from the File menu.)
  3. In the Export dialog box choose a suitable filename.
  4. In the Export dialog box select Compuserve GIF as the export option.
  5. Click "Save". This opens the GIF Export dialog box. This dialog box includes a range of options for creating the bitmap and you can also see what the final bitmap will look like before you export it. For more details, see Creating GIF Files
  6. You only need to change the Width and Height fields if you want to make GIF image larger or smaller than the original. If you're putting the image onto a web page select the "Put HTML image tag on clipboard" option. This places the HTML you need to insert the image in a web page on the clipboard. To insert the image into a web page all you do is place the cursor where you want the image and press CTRL-V.
  7. Click "Export" to save the GIF. "Export A" exports the left image, "Export B" exports the right image. To swap images, click on one.

5. Put the Image on Your Web Page Using HTML

You can insert your picture into the HTML for your web page with a command like this :

Did this page help you? If not, please email us to tell us why not so we can improve it.


© Copyright Xara Ltd: page last updated 4 Sep 1997
For more information, contact webmaster@xara.com.