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. Activate the filter

You can find this filter in the menu through Filters → Light and Shadow → Long Shadow….

This filter requires that the selected layer has an alpha channel.

6.9.3. Options

图 17.133. “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

6.9. Long Shadow - 图3

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.134. “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.

6.9. Long Shadow - 图8

Angle = 110°

Length

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

6.9. Long Shadow - 图9

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.135. “Composition” option examples

“Composition” option examples

Shadow only

“Composition” option examples

Shadow minus image