lay out lay in layers

purpose of this plugin is, to lay out and lay in a group of consecutive layers of an image
(a humble kind of collapse and expand groups of layers)
"collapse":
a determinable number of layers (including the active layer) will be stored (layed out) in a new image.
the name of this image is a time stamp ("%Y%m%d-%H%M%S") plus the string ".xcf".
e.g. 20080117-192642.xcf.
the visible layed out layers will be merged down to a single layer in the source image.
the name of this layer is the above mentioned time stamp.
"expand":
look for the open image with the name like the active layer's name of the source image.
fetch all the layers of the layed-out-layers-image and place them above the active layer.
this active layer will not be replaced but switched to invisible.
laylaylay registers itself under Image - Layer - Stack.

 

 

laylaylay-window

Average: 3 (2 votes)
AttachmentSize
layoutlayinlayers.py5.45 KB

Comments

Thanks!

I really appreciate this script. Works as best as can be expected for not being integrated.

The name in the menu is kinda weird though :P

Duplicate and flatten?

How is this different from simply duplicating and flattening layers?

It Keeps the layers

I think the intent is to reduce the size of your working document.

If you have a 10 layer document, and you don't expect to be working on a group of 5 of them, it will save out those layers as a new file and replace them with the merged copy.

The magic comes later where you can select that merged layer and "expand" it with a single call to the plugin. It will then remove the single layer and load the saved out file as layer in its place.

(I haven't used it, that is just my interpretation)

-Rob A>