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.2.2 Subtracting

Subtracting a new selection from an existing one means that the result is the first selection less the pixels contained in the intersection of the two. Thus, if A is the set of pixels defined by the first selection and B is the set for the second, $A-(A\cap B)$ is the result of subtracting the second from the first, where $\cap$ is the set intersection operator.

A subtraction is made by pressing the Control key before beginning the new selection. Once the new selection is begun, the Control key should be released. The result of subtracting an ellipse from the rectangular selection in Figure  3.15(a) is shown in Figure  3.15(c). Note that it is the new selection that is subtracted from the old selection, not vice versa.

It is useful to note that pressing the Control key while the mouse is in the image window has the effect of changing the mouse cursor to an arrow with a minus sign below it. This indicates that the next selection will be subtracted from any selection already existing in the image window. Because I always forget which key controls addition and which controls subtraction, I find the mouse cursor indicators are particularly useful.

Grokking The Gimp
Previous Page Home Next Page

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