The Crop tool.
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
Note carefully that this command only uses the
of the image to find borders. Other layers are cropped according to
the same limits as limits in the active layer.
Activate the Command