5.7. Drop Shadow
| 5. Light and Shadow Filters |

### 5.7. Drop Shadow

#### 5.7.1. Overview

Afbeelding 17.110. Example for the “Drop Shadow” filter

Original image

“Drop Shadow” applied (white background layer added manually)

This filter adds a drop-shadow to the current selection or to the image if there's no active selection. Optional the filter resizes the image if that's necessary for displaying the shadow.

You may choose the color, position, and size of the shadow.

Please note that the filter does not add a background layer to make the shadow visible. The shadow's background is transparent. The white background in the above example has not been created by the filter, instead it has been added later to let you see the shadow.

#### 5.7.2. Activate the filter

You can find this filter in the image menu menu through Filters → Light and Shadow → Drop Shadow.

#### 5.7.3. Options

Afbeelding 17.111. “Drop Shadow” filter options

Offset X, Offset Y

  The layer containing the drop shadow will be moved horizontally by X pixels, vertically by Y pixels. So, X and Y offset determine where the shadow will be placed in relation to the image. High values make the imaginary source of light look like it's far away in horizontal or vertical direction, and low values will make it look closer to the image.

  The offsets may be negative, leading to a shadow on the left of the selection if offset X < 0, or above the selection if offset Y < 0.

  If there's no active selection, you must have Allow resizing enabled to see any effect.

Blur radius

  After creating the shadow, a Gaussian blur with the specified radius is applied to the shadow layer, resulting in the realistic appearance of the drop shadow. It may be necessary to enable Allow resizing, since blurring extends the shadow.

Color

  The shadow may have any color. Just click on the button, and select a color when the color selector pops up.

  Afbeelding 17.112. “Drop Shadow” color example

Opacity

  The shadow's opacity is just the opacity of the new layer containing the shadow (see Paragraaf 1.1, “Laag eigenschappen”). It defaults to 80%, but you may select any other value from 0 (full transparency) to 100 (full opacity) here. After applying the filter to an image you can change the opacity in the layers dialog.

Allow resizing

  If enabled, the filter will resize the image if that is needed to make place for the shadow. The new size depends on the size of the selection, the blur radius, and the shadow offsets.

5.6. Supernova |  | 5.8. Perspective

Report an error in Bugzilla