6.9. Long Shadow

6.9.1. Overview

This GEGL-based filter was added in GIMP 2.10.6. It simplifies creating long shadows in several visual styles.

6.9.2. Activating the Filter

This filter is found in the image window menu under FiltersLight and ShadowLong Shadow….

It is available if the selected layer holds an Alpha channel (see 第 7.34 节 “Add Alpha Channel”). Otherwise, it is disabled.

6.9.3. Options

图 17.131. Long Shadow filter options

“Long Shadow” filter options

Presets, Input Type, Clipping, Blending Options, Preview, Split view
[注意] 注意

These options are described in 第 2 节 “Common Features”.

Style
Original: the text layer is Menus/layer/Layer to Image Size

You can use different styles Finite that is default, Infinite, Fading, and Fading (fixed length).

图 17.132. Style option examples

“Style” option examples
Finite (default)
“Style” option examples
Infinite
“Style” option examples
Fading
“Style” option examples
Fading (fixed length); length = 30

Angle

Shadow angle, in degrees.

Angle = 110°
Length

Shadow length, in pixels. Only available when Style is set to Finite or Fading (fixed length).

Length = 30
Midpoint

Shadow fade midpoint. Only available when Style is set to Fading or Fading (fixed length).

Color

You can choose the color of the shadow here. Just click on the color swatch, and select a color when the color selector pops up, or use the eye-dropper to pick a color from the image.

Composition

The Output composition selects how the output of this filter will be determined. There are three choices:

  • Shadow plus image will output both the input image and the created shadow. This is the default.

  • Shadow only will output only the created shadow.

  • Shadow minus image will output the created shadow but subtracts the area hidden by the image.

图 17.133. Composition option examples

“Composition” option examples

Shadow only

“Composition” option examples

Shadow minus image