How to select, transform, copy and paste image parts

How to...

# Select, transform, copy and paste image parts

Selecting in graphic programs like Paint is quite a simple task. You have to choose the rectangular or freehand select tool, draw the shape, and then the selection is ready to be moved around. However, this is not the case in GFIE. GFIE offers a much more sophisticated selection handling system which resembles that of professional photo editors.

## Moving a part of an image to another place

1. Select the Brush tool (B) and draw a one-colored blob.
2. Select the Magic Wand tool (W).

   Generally, this tool allows you to select contiguous, one-color areas at one click.

3. Click on the blob to select it.

   If all done right, you will see marching ants surrounding the selected area.

4. Select the Transform tool (F).

   You will notice that the ants marquee became blue and rectangular. This is called a floating selection, which means that the blob is no longer part of the image layer: it is ready to be moved around.

   You always have to make the selection float before resizing it or moving it to another place. This can be done by choosing the Transform (F) tool. If that tool is already selected, choose another tool and then revert back to Transform.

5. Click and drag the selection to transport it to another place.

   Note that moving floating selections between separate documents is not possible. Use Edit|Cut (Ctrl+X) and Edit|Paste (Ctrl+V) instead.

6. Press Escape or Ctrl+D, or choose Edit|Deselect All to glue the floating selection back to the image layer. The ants should now disappear.

Let's summarize what we did in a more abstract way.

1. Create the selection mask.

   This means using a selection tool to mark a part of the image and produce some black and white marching ants.

2. Make a floating selection.

   This converts the ants to blue and can be achieved by using the Transform tool.

3. Deal with the floating selection.

   Move it around, resize it, cut, copy and paste.

4. Flatten the floating selection.

   All marquees are removed and the selection layer is unified with the image layer.

Note that step 2 is not always necessary. You can still copy a selected part if the selection is not floating, and you can still apply filters to the selection. However, you cannot move the selected parts using your mouse!

## More advanced selection handling

Selection masks can be added, subtracted and intersected. Additionally, they can be saved to files and loaded back. (In fact, in the memory they are stored as black and white images, white representing the selected pixels.)

Normally, when you use a selection tool a second time, a completely new selection mask is created. However, by holding down Shift, Ctrl or Shift+Ctrl, you are able to add the new mask to the existing one, subtract it or intersect the two selection masks (as if they were planar sets).