Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

5.7.  Drop Shadow

5.7.1.  Overview

Figure 16.108.  Example for the “Drop Shadow” filter

Example for the Drop Shadow filter

Original image

Example for the Drop Shadow filter

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 FiltersLight and ShadowDrop Shadow.

5.7.3.  Options

Figure 16.109.  Drop Shadow” filter options

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.

Figure 16.110.  Drop Shadow” color example

Drop Shadow color example

Opacity

The shadow's opacity is just the opacity of the new layer containing the shadow (see Section 1.1, “Layer Properties”). 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.


 
 
  Published under the terms of the GNU General Public License Design by Interspire