My GIMP-Python plugins
I've written several plugins for GIMP using GIMP-Python over time. I have just put these up on Github.
The newest of these is 'copynauto', which provides a two-key interface to GIMP's Named Buffers. It makes it easy to collect clippings from many images, tracking where they came from, and dispense them quickly where you want them in your layer structure.
In my case, I have 'copy autonamed' and 'paste latest named and delete' assigned to adjacent numeric keys (2 and 3). When I want to take a clipping, I make my selection with Rectangle tool, hit 2, and the clipping is stored (with a name indicating where it came from). I will do this several times in a row, especially if a single image contains multiple things I want to get clippings of.
Then when I want to place those clippings in the destination image, I select the layer I want to paste above, hit 3, and the latest clipping is placed there (and removed from the list of clippings). I will do this repeatedly too, until there are no more clippings I need to place. Layer names will be taken directly from clipping names, so tracking down sources is easy.
If I lose track of where I was, I bring up GIMP's Buffers dockable, which lists all named buffers.
Okay, tutorial over :)
I'll finish with a synopsis of the plugins that can currently be found in my repository:
applylayer : Iteratively 'apply paint' - merges down the content in a layer/group and then clears the content in it (without actually removing the layers themselves)
backgroundify : Add a background color/pattern to (part of) one or all layers
copynauto : Fast interface to automatically-named GIMP Named Buffers, for collaging. Quickly accumulate a set of clippings and then dispense them.
generate_colorband : Color analysis. Attempts to find and intelligently group N colors representing the layer, producing a 'color band' similar to the output of Smooth Palette. Really SLOW.
palette_to_layer_pixels : Allows editing palettes via image color operators like Curves, by.. transferring them into and out of layers.
select_layers : 'Grep' for layers. Removes layers that do/don't match a glob or Python regexp pattern.
split_rectangles : Given an input layer containing isolated rectangular areas within a transparent 'sea', extract all such rectangles as layers. Slow.











