[Gimp-developer] Procedural call to undo?

Sven Neumann sven at gimp.org
Fri May 15 12:43:22 PDT 2009


Hi,

On Mon, 2009-05-11 at 16:21 -0400, Rob Antonishen wrote:
> Now that could be useful. Call it GIMP-IMAGE-STATE-SAVE and -RESTORE
> possibly.  Or push and pop.. Not undo.  If push and pop, it should be
> limited to the state the image was in when the script/plugin was
> initiated.

We call this gimp-image-duplicate. Since this is implemented using
copy-on-write, it is actually a rather cheap operation and works nicely
if you need to save a certain state of the image for later reuse.


Sven




More information about the Gimp-developer mailing list