3. 실행 취소하기

Almost anything you do to an image in GIMP can be undone. You can undo the most recent action by choosing EditUndo from the main menu, but this is done so frequently that you really should memorize the keyboard shortcut, Ctrl+Z.

Undoing can itself be undone. After having undone an action, you can redo it by choosing EditRedo from the main menu, or use the keyboard shortcut, Ctrl+Y. It is often helpful to judge the effect of an action by repeatedly undoing and redoing it. This is usually very quick, and does not consume any extra resources or alter the undo history, so there is never any harm in it.

[경고] 경고

하나 혹은 여러 개의 작업을 실행취소한 다음에, 실행취소나 재실행 이외의 다른 작업을 하면 더이상 실행취소했던 작업들을 재실행할 수 없습니다. 이러한 문제를 피하려면 이미지를 복사한 뒤, 복사한 이미지에 먼저 테스트를 해보면 됩니다(실행 취소 이력은 복사되지 않기 때문에 원본에 직접 테스트를 하지는 마십시오.).

한번에 많은 과정을 실행 취소하거나 재실행하는 일을 자주한다면, 실행 취소 이력 대화 상자를 이용하면 편리합니다. 이 대화 상자에는 실행 취소 이력의 각 포인트마다 개략적 미리보기가 있어 단지 클릭만 함으로써 해당 과정으로 실행 취소하거나 재실행할 수 있습니다.

Undo is performed on an image-specific basis: the "Undo History" is one of the components of an image. GIMP allocates a certain amount of memory to each image for this purpose. You can customize your Preferences to increase or decrease the amount, using the System Resources page of the Preferences dialog. There are two important variables: the minimal number of undo levels, which GIMP will maintain regardless of how much memory they consume, and the maximum undo memory, beyond which GIMP will begin to delete the oldest items from the Undo History.

[참고] 참고

실행 취소 이력이 이미지의 한 구성요소이긴 하지만, 거의 대부분의 이미지 정보를 보존하는 김프 고유 포맷인 XCF 포맷으로 저장하더라도 실행 취소 이력은 저장되지 않습니다. 따라서 저장한 이미지를 다시 열면 실행 취소 이력은 비어있게 됩니다.

김프의 실행 취소 기능은 꽤 근사하게 구현되어 있습니다. 대부분의 작업들은 아주 작은 실행 취소 메모리만으로 많은 과정들을 저장해둘 수 있습니다. 예를 들어 레이어의 보기전환과 같은 몇몇 작업들은 압축되어, 단지 하나의 포인트만을 기억해둠으로써 여러번 해당 과정을 반복할 수 있습니다. 그에 반면 필터와 같이 꽤 많은 실행 취소 메모리를 소모하는 작업들도 있습니다. 대부분의 필터들은 플러그인 형식으로 구현되므로 김프 코어는 필터 적용 전후의 자세한 변화 내용을 확인할 수 없습니다. 따라서 아예 필터 적용 전후의 모든 내용을 기록하므로 많은 메모리를 사용하게 됩니다. 이러한 작업들은 실행 취소 이력에 겨우 몇번만 기록할 수 있습니다.

3.1. 실행 취소를 할 수 없는 것들

Most actions that alter an image can be undone. Actions that do not alter the image generally cannot be undone. Examples include saving the image to a file, duplicating the image, copying part of the image to the clipboard, etc. It also includes most actions that affect the image display without altering the underlying image data. The most important example is zooming. There are, however, exceptions: toggling Quick Mask on or off can be undone, even though it does not alter the image data.

이미지에 변형을 가하지만 취소할 수 없는 작업 목록 :

이미지 닫기

The Undo History is a component of the image, so when the image is closed and all of its resources are freed, the Undo History is gone. Because of this, unless the image has not been modified since the last time it was saved, GIMP always asks you to confirm that you really want to close the image.

이미지 원래대로 만들기

원래대로 라는 것은 이미지를 파일로부터 다시 읽어들이는 것을 말합니다. 김프에서 이 메뉴를 실행시키면, 현재 이미지를 닫고 새로 이미지를 다시 열엽니다. 따라서 실행 취소 이력은 모두 사라지게 됩니다. 그리고 이미지가 변형되었다면 원래대로 만들기 전에 항상 실행 여부를 확인합니다.

동작의 일부분

어떤 도구들은 해당 도구를 사용하기 위해 복잡한 편집과정들을 요구하기도 합니다. 이런 경우 그 각각의 과정들에 대해서는 실행 취소를 할 수 없고, 오직 전체 과정에 대한 실행 취소만 할 수 있습니다. 예를 들어 "똑똑한 가위" 도구는 이미지 위에 여러 지점을 찍어 폐쇄된 경로를 만들고, 그 내부를 클릭해서 선택을 만듭니다. 이 상태에서 실행 취소를 하면 바로 직전에 한 클릭이 아닌 "똑똑한 가위" 를 시작한 처음 지점으로 돌아갑니다. 다른 예를 들자면, 텍스트 도구를 사용할 경우, 각각의 문자나 글씨체 변환 등의 작업은 취소할 수 없고, 실행 취소를 하면 텍스트 레이어가 사라지며 새로운 텍스트 레이어가 나타납니다.

Filters, and other actions performed by plug-ins or scripts, can be undone just like actions implemented by the GIMP core, but this requires them to make correct use of GIMP's Undo functions. If the code is not correct, a plug-in can potentially corrupt the Undo History, so that not only the plug-in but also previous actions can no longer properly be undone. The plug-ins and scripts distributed with GIMP are all believed to be set up correctly, but obviously no guarantees can be given for plug-ins you obtain from other sources. Also, even if the code is correct, canceling a plug-in while it is running may corrupt the Undo History, so it is best to avoid this unless you have accidentally done something whose consequences are going to be very harmful.