GIMP Script-fu

sg-anti-crop
Login

sg-anti-crop

Command:
Anti-crop
Menu:
"<Image>/Layer/Anti-crop"
PDB Name:
script-fu-sg-anti-crop
Download:
sg-anti-crop.scm (after the page appears, click on the "Download" command)
License:
GPLv2+

Description:

The main purpose of this script is to remove either a horizontal or a vertical strip from a layer and then re-join the two outside regions. The "strip" is defined by a rectangular selection spanning the entire width or height of the layer.

If the selected region does not completely span the layer then, rather than generating an error, the script will extend the selection to the layer boundary, remove the resultant selection, and then re-join the remaining regions. In all cases, the resultant layer is centered relative to the location of the original layer.