In GIMP menu: Image/Transform/Slice active layer using guide...
This simple plugin divides the active layer: [in current image or in new image] into two parts using a guide:[Use existing guide/Create by center Vertical (x)/Create by center Horizontal (y)/Create by coordinate Vertical (x)/Create by coordinate Horizontal (y)] and is a complement to:
1.
Guillotine (by Adam D. Moss):
Slice the image into subimages using guides.
This function takes an image and slices it along its guides, creating new images.
The original image is not modified.2.
Guillotine into layers (by Randall Sawyer):
Slice visible contents of image along guides into layers of a new image.
Guillotine-into-Layers is a variation on the standard plug-in Guillotine.
This plug-in creates a new image with a number of layers - one for each rectangular region defined by the guides and edges of the original image.
The visible contents of each rectangular region are copied, and then pasted as a unique layer of the new image.
The new image derives its name from that of the original.
It is given the suffix '*.xcf' so that it can be readily saved in a format which preserves multiple layers.
The original image is unaffected.3.
Ofn-guillotine-layer (by Ofnuts):
This plug-in/script implements something similar to Image>Guillotine at the layer level:
the active layer is sliced into new layers using the guides as division lines.
The original layer is kept but made invisible.
The script is started from Layer>Guillotine. There are no parameters.The code snippet comes from the plugin:
Guides_to_path.py by
Tin Tran https://gimplearn.net/viewtopic.php?f=3 ... o+path#p62