GIMP Script-fu

Update of "sg-anti-crop"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 72a1db833a119db2cf3401ec54037eec86e8e167
Page Name:sg-anti-crop
Date: 2014-07-06 15:30:58
Original User: saulgoode
Parent: 6a92838bd93b7bdc02cc0f8a7171bdfe1fab475f (diff)
Content
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.