View Window - Transform | Autocrop                    F4

   Main Window - Image | Batch Process - Batch Steps - Add | Transform | Autocrop

 

 

This option automatically crops the current image, removing any edges composed entirely of the same color. The pixel in the bottom left corner of the image is used as the reference pixel. Each of the four sides is compared to this pixel; any side entirely of that color is removed. This process is repeated for each side until a pixel of a different color is found.

 

See also: Options | Viewing - Editing to change the auto crop tolerance value.