The Crop Tool, or the Resize Layers to Selection command, which let you manually define the area to be cropped.
command automatically crops the selected layers, unlike theЭта команда удаляет наибольшую одноцветную область вокруг внешнего края. Она сканирует слой по горизонтали и вертикали и кадрирует изображение как только натыкается на другой цвет, вне зависимости от прозрачности.
You can use this command to crop a layer to the dimensions of a subject that is lost in a solid background which is too large.
Рисунок 16.126. «Crop Layers to Content» example
Before applying «Crop Layers to Content»
After applying «Crop Layers to Content»: the active layer has been cropped to the size of the circle it contains. Its size is reduced, and the unoccupied part in the canvas is transparent, revealing the yellow and green colors of the underlying layer.