Previous Document Next Document
  • Working with Layer Masks

  • Layer Masks vs. Channels

  • Creating Layer Masks

  • Selecting and Viewing Layer Masks

  • Managing Layer Masks

  • Editing Layer Masks

  • Working with Layer Masks

    You can create a layer mask to define what areas of a layer are visible in the document window.

    Masking originated as a technique for creating color separations, where sheets of masking material were hand-cut to define the color regions in an image. In the Corel Painter digital workspace, the layer mask is a powerful tool for controlling image composition and effects.

    Layer Masks vs. Channels

    A layer mask is similar to an alpha channel. Both are grayscale images that you can create and edit. Although the Channels palette provides access to both channels and layer masks, their characteristics and functions are different:

    For more information about channels, refer to "Understanding Alpha Channels".

    Creating Layer Masks

    A layer mask is a grayscale image. Where the mask is white, the layer content is visible; where the mask is black, the layer is transparent, revealing the imagery below it. Intermediate levels of gray are partially transparent.

    You can create a new, blank layer mask, or you can create a layer mask based on the layer's transparency. A layer mask based on transparency is white wherever the layer has content, and black in other areas. For more information about layer transparency, refer to "Preserving Layer Transparency".

    You can also copy a channel to a layer mask.

    A layer mask for the butterfly layer is created based on its transparency. Black areas are transparent; white areas reveal the image.

    To create a new, blank layer mask
    1. Select a layer.
    2. Do one of the following:
    To create a layer mask based on transparency
    1. Select a layer.
    2. Choose Layers menu > Create Layer Mask from Transparency.
    3. The layer mask icon displays next to the layer name on the Layers palette.

    Notes
    To copy a channel to a layer mask
    1. Align the layer with the portion of the channel you want.
    2. Select the layer on the Layers palette.
    3. Click the Create Layer Mask button.
    4. A blank layer mask is created.

    5. On the Channels palette, select the channel you want to copy.
    6. Click the palette menu arrow, and choose Duplicate.
    7. In the Duplicate Channel dialog box, choose the layer mask from the Destination pop-up menu.
    8. Corel Painter copies to the layer mask the portion of the channel that coincides with the layer content.

    Selecting and Viewing Layer Masks

    Before you work with a layer mask, you must select it. You can also view a layer mask as a grayscale image. Selecting a layer mask and viewing it are distinct operations-you can select a layer mask without viewing it.

    To select a layer mask
    1. On the Layers palette, choose a layer that has a layer mask.
    2. The layer mask is displayed on the Channels palette.

    3. Do one of the following:
    To view a layer mask
    1. Select a layer with a layer mask.
    2. On the Channels palette, click the layer mask.
    3. In this mode, the RGB image is hidden.

    To hide a layer mask

    Managing Layer Masks

    You can copy a layer mask to an alpha channel.

    If you've finished working with a layer mask, you can delete it. You can also clear a layer mask without deleting it, leaving you with a blank mask.

    The layer mask is a grayscale image. By inverting it, you can make dark pixels light, and light pixels dark.

    You can disable a layer mask, which lets you view the entire layer. The layer mask can be re-enabled at any time.

    If you like the result of a layer mask, you can apply it. This permanently removes the hidden parts of the layer and deletes the layer mask.

    Although a layer mask does not protect areas of a layer from being edited, you can load a layer mask to a selection. The selection provides protection to the hidden parts of the layer. For more information about selections, refer to "Working with Selections".

    The name of a layer mask on the Channels palette reflects the name of the layer (Layer Name Layer Mask). Although you cannot change the name of a layer mask, it automatically updates if you change the layer name.

    When you move a layer, Corel Painter also moves the layer mask to maintain the pixel correspondence.

    To copy a layer mask to a channel
    1. Select a layer mask.
    2. On the Channels palette, click the palette menu arrow, and choose Duplicate.
    3. In the Duplicate Channel dialog box, choose New from the Destination pop-up menu.
    Tip
    To delete a layer mask
    1. Select a layer mask.
    2. Do one of the following:
    To clear a layer mask
    1. Select a layer mask.
    2. On the Channels palette, click the palette menu arrow and choose Clear.
    To invert a layer mask
    1. Select a layer mask.
    2. On the Channels palette, click the palette menu arrow and choose Invert.
    To disable a layer mask
    1. Select a layer mask.
    2. Choose Layers menu > Disable Layer Mask.
    3. A red 'X' is displayed over the layer mask icon.

    To enable a layer mask
    1. Select a layer mask.
    2. Choose Layers menu > Enable Layer Mask.
    To apply a layer mask
    1. Select a layer mask.
    2. Choose Layers menu > Apply Layer Mask.
    To load a layer mask to a selection
    1. On the Layers palette, select a layer that has a layer mask.
    2. Control+click the layer mask icon (Mac OS) or right-click the layer mask icon (Windows), and choose Load Layer Mask to Selection.

    Editing Layer Masks

    When you select a layer mask, you can edit it as you do a channel. You can paint in a layer mask; apply effects to it; fill it with a color, pattern, gradient, or weave; and feather it. You do not have to view a layer mask to edit it; you can select the layer mask, make changes to it, and view the resulting image immediately.

    For information about editing layer masks, refer to "Editing Channels".

    A layer mask before and after feathering

    When you edit a layer mask, you are making modifications to the mask, and not to the layer's image. You can use shades of gray only; no colors are available. This is because the layer mask is a grayscale image, separate from the RGB image.

    The paint and effects you apply to a layer mask are reflected as follows:

    Previous Document Next Document Back to Top