Kapitel 7. Mit GIMP malen

Inhaltsverzeichnis

1. Die Auswahl
1.1. Ausblendung (Weiche Auswahlkante)
1.2. Eine Auswahl teilweise transparent machen
2. Auswahlen erstellen und benutzen
2.1. Auswahl verschieben
2.2. Auswahlen hinzufügen oder abziehen
3. Schnellmaske
3.1. Überblick
3.2. Eigenschaften
4. Die Schnellmaske verwenden
5. Mit Pfaden arbeiten
5.1. Pfade erstellen
5.2. Pfade und Auswahlen
5.3. Pfade transformieren
5.4. Pfade nachziehen
5.5. Pfade und Text
5.6. Pfade und SVG-Dateien
6. Pinselspitzen
7. Hinzufügen neuer Pinsel
8. Animierte Pinselspitzen erstellen
9. Die Pinselgröße einstellen
9.1. Die Pinselgröße variieren
9.2. Schnell einen Pinsel erzeugen
10. Farbverläufe
11. Muster
12. Paletten
12.1. Farbkarten
13. Einfache Objekte zeichnen
13.1. Eine gerade Linie zeichnen
13.2. Eine Grundform erstellen

1. Die Auswahl

Wenn Sie mit GIMP Bilder bearbeiten, werden Sie sehr schnell nach einer Möglichkeit suchen, eine Aktion oder einen Filter von „Wilbers Augen“ nicht auf das gesamte Bild, sondern lediglich auf einen bestimmten Bereich des Bildes anzuwenden. Genau zu diesem Zweck gibt es in „Wilbers Augen“ das Konzept der Auswahl.

Abbildung 7.1. Wie würden Sie den Baum aus dem Bild isolieren?

Wie würden Sie den Baum aus dem Bild isolieren?

There are many, many situations where creating just the right selection is the key to getting the result you want, and often it is not easy to do. For example, in the above image, suppose I want to cut the tree out from its background, and paste it into a different image. To do this, I need to create a selection that contains the tree and nothing but the tree. It is difficult because the tree has a complex shape, and in several spots is hard to distinguish from the objects behind it.

Abbildung 7.2. Selection shown as usual with dashed line.

Selection shown as usual with dashed line.

Now here is a very important point, and it is crucial to understand this. Ordinarily when you create a selection, you see it as a dashed line enclosing a portion of the image. The common, not entirely accurate, idea you could get from this, is that the selection is a sort of container, with the selected parts of the image inside, and the unselected parts outside. Although this concept of selection is okay for many purposes, it is not entirely correct.

Eine Auswahl ist in GIMP als Kanal hinterlegt. Ihre technische Struktur ist in der Tat identisch zu einem Farbkanal für Rot, Grün, Blau oder einem Alphakanal. Daher kann die Auswahl für jedes Pixel des Bildes einen Wert zwischen 0 (komplett unausgewählt) und 255 (komplett ausgewählt) annehmen. Der große Vorteil dieses Ansatzes ist, dass er 254 Stufen für teilweise ausgewählte Pixel erlaubt. Sie werden es schon bald zu schätzen wissen, dass Sie einen weichen Übergang zwischen ausgewählten und nicht ausgewählten Bildbereichen schaffen können.

Und was stellt dann die gestrichelte Linie dar, welche erscheint, sobald Sie eine Auswahl erzeugen?

The dashed line is a contour line, dividing areas that are more than half selected from areas that are less than half selected.

Abbildung 7.3. Same selection in QuickMask mode.

Same selection in QuickMask mode.

While looking at the dashed line that represents the selection, always remember that the line tells only part of the story. If you want to see the selection in complete detail, the easiest way is to click the QuickMask button in the lower left corner of the image window. This causes the selection to be shown as a translucent overlay atop the image. Selected areas are unaffected; unselected areas are reddened. The more completely selected an area is, the less red it appears.

Many operations work differently in QuickMask mode, as mentioned in the QuickMask overview. Use the QuickMask button in the lower left corner of the image window to toggle QuickMask mode on and off.

Abbildung 7.4. Same selection in QuickMask mode after feathering.

Same selection in QuickMask mode after feathering.

1.1. Ausblendung (Weiche Auswahlkante)

With the default settings, the basic selection tools, such as the Rectangle Select tool, create sharp selections. Pixels inside the dashed line are fully selected, and pixels outside completely unselected. You can verify this by toggling QuickMask: you see a clear rectangle with sharp edges, surrounded by uniform red. Use the „Feather edges“ checkbox in the Tool Options to toggle between graduated selections and sharp selections. The feather radius, which you can adjust, determines the distance over which the transition occurs.

If you are following along, try this with the Rectangle Select tool, and then toggle QuickMask. You will see that the clear rectangle has a fuzzy edge.

Feathering is particularly useful when you are cutting and pasting, so that the pasted object blends smoothly and unobtrusively with its surroundings.

It is possible to feather a selection at any time, even if it was originally created as a sharp selection. Use SelectFeather from the image menu to open the Feather Selection dialog. Set the feather radius and click OK. This brings up a dialog that allows you to set the feather radius. Use SelectSharpen. do the opposite—sharpen a graduated selection into an all-or-nothing selection—.

[Anmerkung] Anmerkung

Falls es Sie interessiert, wie das Ausblenden einer Auswahl technisch funktioniert: es wird auf den Kanal, der die Auswahl repräsentiert, ein Gaußscher Weichzeichner mit dem eingestellten Radius ausgeführt.

1.2. Eine Auswahl teilweise transparent machen

You can set layer opacity, but you cannot do that directly for a selection. It is quite useful to make the image of a glass transparent. Use the following methods to set the layer opacity:

  • For simple selections, use the Eraser tool with the desired opacity.

  • For complex selections: use SelectionFloating to create a floating selection. This creates a new layer with the selection called „Floating Selection“. Set the opacity slider in the Layer Dialog to the desired opacity. Then anchor the selection: outside the selection, the mouse pointer includes an anchor. When you click while the mouse pointer includes the anchor, the floating selection disappears from the Layer Dialog and the selection is at the right place and partially transparent (anchoring works this way only if a selection tool is activated : you can also use the Anchor Layer command in the context menu by right clicking on the selected layer in the layer dialog).

    And, if you use this function frequently: Ctrl-C to copy the selection, Ctrl-V to paste the clipboard as a floating selection, and LayerNew Layer to turn the selection into a new layer. You can adjust the opacity before, or after creating the new layer.

  • Another way: use LayerMaskAdd Layer Mask to add a layer mask to the layer with the selection, initializing it with the selection. Then use a brush with the desired opacity to paint the selection with black, i-e paint it with transparency. Then Layer/Mask/Apply Layer Mask. See Abschnitt 2.1.3, „ Ebenenmasken.

  • To make the solid background of an image transparent, add an Alpha channel, and use the Magic Wand to select the background. Then, use the Color Picker tool to select the background color, which becomes the foreground color in Toolbox. Use the Bucket Fill tool with the selected color. Set the Bucket Fill mode to „Color Erase“, which erases pixels with the selected color; other pixels are partially erased and their color is changed.

    The simplest method is to use EditClear, which gives complete transparency to a selection.