11.9. Stencil Carve
| 11. 装饰滤镜 |

### 11.9. Stencil Carve

#### 11.9.1. Overview

图 17.240. Example for the “Stencil Carve” filter

Original image

“Stencil Carve” applied

This filter works with two images, source and target. The source image must be a grayscale image containing a single layer and no Alpha channel. This layer is used as selection mask and will work as stencil for the carving effect. The image to be carved (the target image) can be an RGB color or grayscale image, also with a single layer. This target image must have the same size as the source image.

#### 11.9.2. Activating the filter

This filter is found in the image window menu under Filters → Decor → Stencil Carve.

| 提示
If this command remains grayed out although the image is grayscale, check for an Alpha channel and delete it.

#### 11.9.3. Options

图 17.241. “Stencil Carve” options

Image to carve

  Here you may select the target image, i.e. the image the carving effect is applied to. The drop-down list will show you a list of opened images which may be carved.

Carve white areas

  If checked (default), the source image is used as stencil as described above. If unchecked, the inverted source image is used as stencil, e.g.:

  图 17.242. Engraving Masks

  Normal mask

  Inverted mask

  In the example below, the source is a grayscale image. The target is an image with a wood pattern.

  On the left, Carve white areas is enabled. The pixels of the target image corresponding to white pixels in the stencil (around the text) have been carved. The result is an embossed text.

  On the right, Carve white areas is disabled. The pixels of the target image corresponding to the black pixels in the stencil (the text) have been carved. The result is a hollow text.

  图 17.243. Example for “Carve white areas”

  White areas carved

  Stencil

  Black areas carved

  Information about the many layers created by this filter can be found in [GROKKING].

11.8. Slide |  | 11.10. Stencil Chrome

Report an error in Bugzilla