10.27. Autocrop Layer
| 10. Layers |

### 10.27. Autocrop Layer

Revision History
Revision $Revision: 1710 $ | 2006-09-04 | scb

The Autocrop Layer command automatically crops the active layer, unlike the Crop Tool, which lets you manually define the area to be cropped.

This command removes the largest possible area around the outside edge which all has the same color. It does this by scanning the layer along a horizontal line and a vertical line and cropping the layer as soon as it encounters a different color, whatever its transparency.

You can use this command to crop the layer to the dimensions of a subject that is lost in a solid background which is too large.

#### 10.27.1. Activating the Command

- You can access this command from the image menubar through Layer → Autocrop Layer.

#### 10.27.2. Example

Figure 15.102. Example

Before applying “Autocrop Layer”

After applying “Autocrop Layer”

10.26. Normalize |  | 10.28. The “Mask” Submenu