The «floating selection».
command converts a normal selection into aA floating selection (sometimes called a «floating layer») is a type of temporary layer which is similar in function to a normal layer, except that before you can resume working on any other layers in the image, a floating selection must be anchored. That is, you have to attach it to a normal (non-floating) layer, usually the original layer (the one which was active previously), for instance, by clicking on the image outside of the floating selection (see below).
Важно | |
---|---|
You cannot perform any operations on other layers while the image has a floating selection! |
You can use various operations to change the image data on the floating selection. There can only be one floating selection in an image at a time.
Подсказка | |
---|---|
Если вы показываете край слоя с помощью команды Показать границы слоя, у вас могут возникнуть трудности точно указать в слое область изображения. Чтобы избежать этой проблемы, вы можете сделать прямоугольное выделение, преобразовать его в плавающее выделение, прикрепить его к новому слою и убрать искомый слой. |
In early versions of GIMP, floating selections were used for performing operations on a limited part of an image. You can do that more easily now with layers, but you can still use this way of working with images.
You can access this command from the image menubar through
→ ,or by using the keyboard shortcut Shift+Ctrl+L.
Some image operations create a floating selection automatically:
The «paste» operations, Paste Named Buffer, Paste or Paste Into, also create a floating selection.
In addition, the Transform tools, Flip, Shear, Scale, Rotate and Perspective, create a floating selection when they are used on a selection, rather than a layer. When the Affect mode is Transform Layer and a selection already exists, these tools transform the selection and create a floating selection with the result. If a selection does not exist, they transform the current layer and do not create a floating selection. (If the Affect mode is Transform Selection, they also do not create a floating selection.)
By click-and-dragging a selection while pressing the Ctrl+Alt keys (see Раздел 2.1, «Перемещение выделения») you also automatically create a floating selection.
You can anchor a floating selection in various ways:
You can anchor the floating selection to the current layer the selection is originating from. To do this, click anywhere on the image except on the floating selection. This merges the floating selection with the current layer.
Or you can use the Anchor layer command (Ctrl+H).
You can also anchor the floating selection to the current layer by clicking on the anchor button of the Layers dialog.
If you create a New Layer while there is a floating selection, the floating selection is anchored to this newly created layer.