6.22. Обрезать изображение

Обрезать изображение можно двумя способами:

6.22.1. Обрезать до выделения

The Crop to Selection command crops the image to the boundary of the selection by removing any strips at the edges whose contents are all completely unselected. Areas which are partially selected (for example, by feathering) are not cropped. If the selection has been feathered, cropping is performed on the external limit of the feathered area. If there is no selection for the image, the menu entry is disabled.

[Примечание] Примечание

This command crops all of the image layers. To crop the active layer only, use the Crop to selection command from the Layer menu.

You can access this command from the menu through ImageCrop to Selection.

6.22.2. Обрезать до содержимого

The Crop to content command removes the borders from an image. It searches the layers for the largest possible border area that is all the same color, and then crops this area from the image, as if you had used the Crop tool.

Рисунок 16.70. Пример применения «Обрезать до содержимого».

Пример применения «Обрезать до содержимого».

This image is made of three layers. One with a red square, another with a green square, and a yellow background. The green layer is active.

Пример применения «Обрезать до содержимого».

«Crop to content» has cropped the image to the outer borders of the green and red layers. Only the part of the yellow layer inside the red-green area has been kept.

You can access this command from the menu through ImageCrop to Content.