7.54. Samodejno obreži plast
| 7. Meni “Plast” |

### 7.54. Samodejno obreži plast

The Autocrop Layer command automatically crops the active layer, unlike the Crop Tool, or the Crop Layer command which let 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.

#### 7.54.1. Aktiviranje ukaza

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

#### 7.54.2. Primer

Slika 16.119. Primer

Before applying “Autocrop Layer”

After applying “Autocrop Layer”: the active layer, up, 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.

7.53. Obreži v izbor |  | 8. Meni “Barve”

Report an error in Bugzilla