Page Banner

Fireworks Lesson 2-1:
Working with Bitmap Graphics

Intro to Bitmaps

Before we begin our exploration of the editing capabilities that Fireworks offers for digital images, let us have a look at the terminology that we will use during this lesson.

Fireworks' strength is to combine vector objects with bitmaps i.e., we can handle both scalable objects and pixelated objects within the same application. For Vector objects all size and outline are described mathematically. Vector objects are assigned properties which are rendered before the object is displayed. Since the rendering of the objects is on the fly we can scale them without losing any quality of display. The only restriction about resolution is the ppi resolution of the canvas.

Bitmap objects are like mosaics. They consist of a finite number of squares which have color values assigned to them. The resolution depends upon the way a bitmap was created. For color images that will display on a screen a resolution of 72 ppi to 92 ppi seems sufficient, since monitors don't show more pixels than that. Any finer resolution would only inflate the file size without bringing any visible quality increase.


Task 1 - The Difference between Vector and Bitmap Graphics

So far in Fireworks you have been working with Vector graphics. Working with Bitmap graphics is very different.

  1. To begin to understand the difference between the two, click on the following two links to read about each type of graphic:
    1. Read about Vector Graphics
    2. Read about Bitmap Graphics

  2. Start a new canvas in Fireworks, 600 x 400 pixels. Save it in your Fireworks folder as lastname BitmapIntro.png.
  3. Compare Vector and Bitmap lines:
    1. Select the line tool and set the stroke width to 2.
    2. Hold Shift while you draw a diagonal line.
    3. Now select the Brush tool from the Bitmap section of the Tools panel. Set its properties to a width of 2 also.
    4. Hold Shift while you draw another diagonal line.
      The actually look alike right now, but as you will see, they will not scale the same way.
    5. Select the bitmap line (the first one) and increase its size substantially - drag a corner handle while holding Shift.
    6. Select the vector line, and use the Scale tool to increase its size the same as the bitmap line - again use Shift.
    7. Examine the lines to see the different way they appear now. Zoom in to 200% to see better if necessary.
    8. Reduce the Zoom back to 100%.

  4. Keep the file open for the next task.


ladybugsTask 2 - Importing and Selecting in Bitmaps

In order to work with a bitmap image, you must either open it directly in Fireworks, or import the file into an open Fireworks canvas.
Fireworks recognizes many bitmap file formats, including: PSD, TIF, JPG, GIF, BMP, and PNG.

  1. Import images to the canvas:
    1. Right-click each of the images at the right and save them into your fireworks folder (not in the Lesson4 folder). Do not open them.
    2. With the canvas from Task 1 still open, choose Import from the File menu.
      flowerbutterfly

    3. Locate the ladybug image in your files and click Open.
    4. You will now see a corner-shaped cursor - wherever you click this icon will be the upper left corner of the imported image. Click to place it as shown in the illustration shown below right.

      selecting image file
    5. Import the other two images in the same manner, placing them as shown

    6. Move your lines from Task 1 to the upper right open space on the canvas.


  2. Practice with Selection Marquees
    1. Read about the Marquee tools in the table below.

    2. Marquee tools

      Marquee ToolsThere are two marquee tools, rectangular and oval. These tools behave just as the drawing tools behave in vector mode. You can use the same key combinations to create squares and circles or to start drawing the marquee from the center point.

      ALT + click + drag
      draw from center
      SHIFT + click + drag
      constrain to square/circle
      Here are the key combinations
      and what their effect is:

      Marquee Tool OptionsThere are special tool settings in the tool options section of the properties inspector. Some of these options also exist for the other pixel selection tools. Let's look at the settings that are specific to the marquee tools first.

      The first option for the marquee tools is style. There are several styles you can choose from. Click on the list icon x to bring up the options.

      Normal:
      The marquee behaves like a normal drawing tool.
      Fixed Ratio:
      x You can enter a fixed ratio between the width and the height of the marquee drawn. This helps if you need to select parts of an image and want a specific ratio of the selection size.
      Fixed Size:
      x Allows you to enter a fixed pixel size. The drawn marquee will automatically assume the predefined size.

      Edge settings for pixel selection toolsedge illustrations

      The edge settings for the pixel selection tools are common to all tools. Since we are looking at the marquee tool first we will look at the edge settings here. Please keep in mind that the edge setting applies to all pixel selection tools.

      Hard:
      The pixels are selected just where the marquee is drawn. No extra pixels outside are selected, the result is a jagged edge.
      Anti-Alias:
      This prevents jagged edges of the pixel selection and adds extra pixels to the outside which allows for smooth blending when the selection is moved.
      Feather:
      Lets you soften the edge of the pixel selection. You can specify how many pixels are added to the marquee.

      Lasso tools

      Lasso ToolsIf you want to create selections that are not made up of simple geometrical shapes you can use the lasso tools.

      xThis icon stands for the freehand lasso. When you select this tool you can draw freehand shapes. The shape will automatically close when you release the mouse button. It will close the shape with a straight line.When you come close to the starting point a small square will show up next to the lasso cursor. This means that you are close to the start point and the shape will close smoothly when you release the mouse key.

      xThe polygon lasso tool allows you to draw a marquee that consists of linear segments. You can constrain the segments to 45 degree angles by holding down the SHIFT key. This tool also indicates the proximity to the starting point with a small square that light up next to the lasso cursor.

      x

      x

      Here are two examples of marquees created by the lasso tools:

      The modifier keys mentioned in the section about the marquee tools also work for the lasso tools.

      Modifying selections

      To add to an existing pixel selection:

      After drawing a selection marquee with any bitmap selection tool, you can add to the selection with the same tool or another bitmap selection tool.

      1. Select any bitmap selection tool.
      2. Hold down Shift and draw additional selection marquees.
      3. Repeat steps 1 and 2 with any bitmap selection tool to continue adding to the selection.
        Overlapping marquees join to form a contiguous marquee.

      To subtract pixels from a selection:

      You can subtract pixels from a selection, or punch out parts of a selection, defining pixel areas inside the original marquee that will no longer be part of the selection.

      • Hold down Alt and use a bitmap selection tool to select the pixel area to be punched out.

      To select a pixel area defined by the intersection of two marquees:

      You can select pixels in an existing marquee by drawing a marquee that overlaps the original.

      1. Hold down Alt+Shift while creating a new marquee selection that overlaps the original marquee.
      2. Release the mouse button.
        Only the pixels in the intersection area of the two marquees are selected.

      Magic wand

      x The magic wand selects pixels by color. It is the best tool to select areas that are objects in the bitmap. If we wanted to select the flower in our example then we would use the magic wand tool.

      The most important tool option for the magic wand is the color tolerance. You can set the color tolerance by changing the tolerance value in the tool options panel.


      x
      x

      The setting of the tolerance value impacts how many similar colors are selected. The higher the number the more unlike colors are selected.

      A selection with tolerance 0 (zero) would result in only adjacent pixels of the exact same color to be selected.

       

       

      In this example the tolerance was increased to 125 and the same area selected was selected. You can see that the result is quite different.

      You can clearly see that a larger area of pixels was selected. The ability to select areas of pixels has a lot to do with the background on which the object you want to select is located.

      High contrast between the desired object and the background is desirable since it allows Fireworks to do a better job in selecting the area.

      x
      x


    3. Tutorial LinkClick the Tutorial link at the right to open the webpage, then choose Selecting Pixels
    4. Practice selecting pixels using all four tools, until you are familiar with how they work.
    5. Click the Tutorial link again to open the webpage, then choose Modifying Marquee Selections
    6. Practice selecting pixels using all the selection modifying methods, until you are familiar with how they work.

  3. ladybug selectionPractice Making Selections on the Canvas:
    1. Use the Oval Marquee tool and the adding selection technique to create a selection area that surrounds all of the ladybugs with a lumpy oval selection area, similar to the illustration at the right. Try not to let an oval go off the edge of the image, so there are no flat edges.

    2. From the Select menu, choose Select Inverse. This selects the pixels outside of the selection shape.
    3. Press the Delete key to remove the selected pixels.

      butterfly selection
    4. Use the Rectangular Marquee tool and the subtraction technique to create a selection area that surrounds the butterfly, similar to the illustration at the right.
    5. Again, select the inverse pixels and delete them.


  4. Use the Lasso tool:
    1. Use the Lasso tool to surround one of the ladybugs as closely as you can.
      Remember you can use the addition and subtraction techniques with this tool, too.
    2. Copy the selection and paste it. Move the copy to a blank space above the ladybug image.

  5. copied flowerUse the Magic Wand tool:
    1. Use the Magic wand tool and the settings in the text illustration above, with the Magic Wand tool explanation, to select the purple flower.
    2. Drag three copies around the original to make it look like a cluster of flowers on the picture, as you see at the right.

  6. Save and close your file.


Task 3 - Using Bitmap Drawing Tools

  1. flowerRight-click the image at the right and save it in your Fireworks folder with your lastname in front of the filename.
  2. Open the file in Fireworks.
  3. Select the Brush tool, set a tip size of 20 a bright color and an interesting stroke.
  4. Draw a squiggle on the canvas in the lower-right of the image.
  5. Now try to select the object you drew.
    You cannot select it - pixels in the picture have been replaced by the stroke you drew.
  6. Undo your brush stroke.


  7. If the Layers panel is not open, click the triangle beside the word 'Layers' to open it. At the bottom of the panel, click the New Bitmap Image button (beside the trash can).
  8. Be sure the new layer is active (the layer will be blue) and draw your squiggle again. Again try to select it
    You can now select it as a separate object because it is on a different layer.
  9. Select the image, then select the eraser tool. Set the size to about 10 and the edge to 2.
  10. 'Draw a squiggle in the lower left of the picture.
    This tool erases any pixels it touches.
  11. With the Eraser tool still selected, reduce the Eraser Opacity indicator to 50. Draw another squiggle.
    The opacity controls the intensity of the erasure.
  12. Select the Brush tool, set the tip size to about 10, the color to white, and the stroke to Basic, Hard Rounded.
  13. Click in the sky area to create a few scattered 'stars'.
  14. Change the Opacity to about 60 and create a few more. Change the Opacity to value to 30 and add a few more.
  15. Save and close your file.


Task 4 - Create a Feathered, Cropped Border on an Image

Creating a Feathered outline of an image is a two-step process: create the selection and set the feathering, then delete the surrounding pixels. You will often them need to crop away any extra cavas.

  1. girl with pumpkinRight-click on the image at the right and save in your Fireworks folder with your lastname in the front of the filename.
    Cute pic, but not very well centered in the space...

  2. Open the file in Fireworks.

  3. Step 1 - Create and Feather the Selection:
    1. With the ellipse marquee, select an oval around the girl's head and shoulders. Do not allow the marquee to overlap the edges of the image.
      You can hold Alt while selecting, starting with the girl's nose, and you can easily center an oval on her head and shoulders.
    2. From the Select menu, choose Feather.
    3. The Radius box in the Feather section of the dialog box controls how wide the feather effect will be. Enter 25 in the radius box.
    4. Click OK – you will not see a difference until after you delete the background.

  4. Step 2 - Remove the Surrounding Pixels:
    1. From the Select menu, choose Select Inverse.
      This selects everything outside of the oval selection area.
    2. Press the Delete key.
      The background outside the oval is deleted leaving the oval with a soft edge.

  5. Cropping the image:
    1. Deselect the image.
    2. Choose the Crop tool from the tools panel.
      The Crop tool lets you cut off unwanted parts of the canvas.
    3. Drag to select a rectangle just a little larger than the oval. Handles appear along the borders of the crop rectangle, which you can use to adjust the selected area.
    4. Double-click within the crop area of the image.
      The area outside the crop area is removed.
      An alternate method for cropping the canvas to fit an image is to choose the pointer tool and deselect all objects. On the Properties Panel, click Fit Canvas.

  6. Save and close the file.

Turn in your work by placing a copy of your three files in the Turn-in folder of the Web Design Common folder.