9.16.  Autocrop Image

Revision History
Revision $Revision: 2498 $ 2007-11-07 j.h

The Autocrop Image command removes the borders from an image. It searches the active layer 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.

[Caution] Caution

Note carefully that this command only uses the active layer of the image to find borders. If other layers have color variations extending into the border zone of the active layer, they are cropped away.

9.16.1.  Activate the Command

  • You can access this command from the image menubar through ImageAutocrop Image.

9.16.2.  Example

Figure 15.83.  Autocrop” example

Autocrop example

This image is made of three layers. One with a red square, another with a green square; both on a yellow semi-transparent background. The green layer is active.

Autocrop example

Autocrop” has cropped the green square and made a layer from it. The other layers have been cropped to the same size as the green one. Only a small part of the red square has been kept.