9.5 Undoing

GIMP allows you to undo many steps, which makes undo a useful and powerful feature. This capability means that GIMP must store many successive states of the image you are working on, so the number of steps you can undo has a limit. We show how to adjust this limit in Chapter 22.

The Create New Template dialog

Figure 9-53. The Create New Template dialog

Available icons

Figure 9-54. Available icons

Figure 9-55 shows the entries in the Image: Edit menu that let you undo actions. We recently used IWarp and the Blend tool, but we chose to undo Blend. The menu, therefore, displays options for undoing the IWarp filter or redoing the Blend. If we did anything else before IWarp, we could then undo that, and if we undo anything after Blend, we can redo it after redoing Blend.

The undo entries in the Edit menu

Figure 9-55. The undo entries in the Edit menu

The text of the first two entries in the menu depends on what you’ve done to the image. is the shortcut for undo, and is the shortcut for redo. Even if a transformation or filter was processor intensive, undoing and redoing are not.

But computers have limited storage space, so GIMP has some limitations:

The Fade dialog

Figure 9-56. The Fade dialog

The FADE entry in the Edit menu is usually grayed out. Fade is only available after you’ve just used the Bucket Fill tool, the Blend tool, or a few of the filters. Its dialog is shown in Figure 9-56. Fade modifies the blending mode and the opacity of the last operation. For example, after applying the Bucket Fill tool in normal mode with full opacity, you can change the mode to Screen and reduce the opacity using Fade. Since fading is a modification, Fade doesn’t add a step to the undo history. Unlike most things in GIMP, Fade is blocking: Once you begin, you must either fade or cancel. You can’t do something else and then return to the Fade dialog.

As Figure 9-57 shows, all the layer-blending modes are available, plus BEHIND and COLOR ERASE, which are available only for painting tools, and REPLACE, ERASE, and ANTI ERASE. The effect of the mode and the opacity can be seen immediately, but the effects become permanent only when you click the FADE button.

The last entry in Figure 9-55 opens the Undo History dockable dialog, shown in Figure 9-58. This dialog initially appears in the multi-dialog window and shows all the actions that you can undo. The first state of the image is at the top of the list, and the last one that can be restored is at the bottom. If you click a state, it becomes the current one.

The three buttons in the bottom row, from left to right, let you undo, redo, or clear the undo history. Clearing the history isn’t advisable unless you are in dire need of memory space.

Fading modes

Figure 9-57. Fading modes