4.13. Obvod

Obrázek 16.39. Example

Example

An image with a selection

Example

After Select Border


Příkaz nahradí aktuální výběr výběrem zahrnujícím jeho obvodové oblasti.

4.13.1. Activating the Command

You can access this command from the image menubar through SelectBorder….

This command is grayed out, inactive, if there is no selection.

Two conditions must be respected to use this command:

  • The image must have an alpha channel.

  • The original image must be created with the Antialiasing option checked in the selection tool that is used.

4.13.2. Volby

Obrázek 16.40. The Border dialog window

The „Border“ dialog window

Vybrat obvod

Enter the width of the border selection in the box. The default units are pixels, but you can also choose the units with the drop-down menu.

Border Style
  • Hard: this option does not keep antialiasing. This can be useful in some cases.

  • Smooth: this option keeps antialiasing. Note that Smooth does not create any antialiasing. That's why antialiasing must be added when creating the original selection. This option is the best one.

  • Feathered: this option does the same things as Hard, but instead of the resulting border being fully selected, it fades outwards. The result is not very good; if you want a feathered border, better is use one of the other modes, and then feather the result. It's there for history reason.

Obrázek 16.41. Border Style Comparison

Border Style Comparison

Hard option. Selection editor, zoom 800%

Border Style Comparison

Smooth option. Selection editor, zoom 800%

Border Style Comparison

Feathered option. Selection editor, zoom 800%


Selected areas continue outside the image

This option was Lock selection to image edges. Its function is unchanged.

With this option enabled, an edge of an (usually rectangle) selection remains unchanged if it is aligned with an edge of the image; no new selection will be created around it.

Obrázek 16.42. Select border with and without Selected areas continue outside the image

Select border with and without „Selected areas continue outside the image“

Select border without (middle) and with (right) locked selection.

Select border with and without „Selected areas continue outside the image“

Same selections filled with red.