GIMP Script-fu

Update of ”sg-anti-crop”
Login

Update of ”sg-anti-crop”

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

Overview

Artifact ID: b6a07877dd224461c7eee3f164082e998cd5c48c
Page Name:sg-anti-crop
Date: 2010-08-05 04:52:09
Original User: saulgoode
Parent: 8e84bbeafd116e33f2918352b857072936772496 (diff)
Next 55d1fdcfc9e97b746d9961a4a1be925b4007da8e
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+

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 respectively.

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 both horizontally and vertically, 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.