OOF2: The Manual

Name

OOF.Image.Undo — Undo an Image modification.

Synopsis

OOF.Image.Undo(image)

Details

  • Parent Menu: OOF.Image
  • Callback: function undoImageMod in module ooflib.image.IO.imagemenu
  • Parameters:

    image
    Type: The path to an existing Image object.

Description

Each Image in a Microstructure has associated with it a stack of modified versions of the Image. When the Image is modified, the new version is pushed onto the stack. The Undo command pops the topmost version off the stack, thereby reverting to the next older version. The popped version is not destroyed, however. It can be recovered with OOF.Image.Redo.

The Image stack has a limited depth. When the stack is full, the oldest versions of an Image will be lost when new modifications are made.