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 buffer of modified versions of the Image. When the Image is modified, the new version is stored in the buffer. The Undo command restores the next oldest version from the buffer, thereby undoing the most recent change. The changed version is not destroyed, and can be recovered with OOF.Image.Redo.

The Image buffer has a limited size. When it is full, the oldest versions of an Image will be lost when new modifications are made. The size of the buffer can be changed with OOF.Settings.UndoBuffer_Size.Image.

See Also