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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Grokking The Gimp
Previous Page Home Next Page

3.3.9 The Border Function

The Border command, found in the Image:Select menu, replaces a selection with just those pixels within a specified radius of the selection edge. Thus, this function creates a selection of the border around the previous selection's edge. This command is a combination of the two functions Shrink and Grow. In particular, if A represents the set of selected pixels obtained by applying Grow to a selection and B represents the set obtained by applying Shrink, Border produces the set that could otherwise be obtained by doing A-B (see Section  3.2 for more on combining selections). The width of the border is specified by the border dialog.

Figure  3.16(a)

Figure 3.16: The Effect of Border
Figure 3.16

illustrates an image with a selection, and Figure  3.16(c) shows the result of applying Border. The value chosen for the border is shown in the associated dialog, illustrated in Figure  3.16(b). Note that the dialog contains a menu that allows the border width to be specified in a variety of different units. The default unit is pixels.

Border is particularly useful for refining selection edges. An example of using Border is presented in Section  7.4.

Grokking The Gimp
Previous Page Home Next Page

  Published under the terms of the Open Publication License Design by Interspire