Creating and Applying a Mask that Excludes Some Differences or Just Selected Areas

  1. Click Edit > New Mask. The bitmap tool creates an empty Mask Bitmap child window that is the same size as the baseline bitmap.
  2. Using the Differences window to help you locate differences, place the mouse cursor in the baseline bitmap window at the position where you want to begin creating the mask. As you press and hold the left mouse button, drag the mouse cursor to outline a rectangle. Then release the left mouse button. The rectangular outline in the baseline map changes to a filled-in rectangle. The mask bitmap window also contains a like-sized rectangle in the same relative location.
  3. Repeat step the previous step until you have completed the mask.
  4. If you want to delete a portion of the mask, place the mouse cursor in the baseline bitmap window at the position where you want to begin editing. While pressing the Shift key and then the left mouse button, drag the mouse cursor over the area of the existing map that you want to delete, and then release the Shift key and the left mouse button.

    The area of the mask overlapped by the rectangle outline disappears in both the baseline and mask bitmap window.

  5. Choose Edit > Apply Mask. The bitmap tool applies the mask to the result bitmap and closes the Differences window.
  6. Choose one of the following actions:
    Keep the baseline and result bitmaps with the mask applied
    Save the bitmap files. The mask is now a permanent part of the bitmap files.
    Unapply the mask
    Close the mask bitmap window. Saving is optional.
    Keep the mask as it is
    Save the mask file.
    Edit the mask
    Choose File > Save and close the mask bitmap window. This un-applies the mask.

The Open Agent and Classic Agent capture bitmaps in different color depths. By default, the Open Agent captures bitmaps using the current desktop settings for color depth. The Classic Agent captures bitmaps as 24-bit images. If you create a mask file for the captured bitmap using the Bitmap tool, the mask file is saved as a 24-bit bitmap. If the bitmap mask file does not have the same color depth as the bitmap that you capture, an error occurs. To ensure that VerifyBitmap functions do not fail due to different color-depth settings between the captured image and the mask image, ensure that the bitmaps have the same color depth.