이 장에서는 김프에서 사용하는 기본 개념과 용어에 관한 간략한 소개를 할 것입니다. 이곳에서 소개된 내용들은 다른 장에서 자세히 설명될 것입니다. 각 내용과 관련된 부분은 목차에서 쉽게 찾을 수 있습니다.
Images are the basic entities used by GIMP. Roughly speaking, an “image” corresponds to a single file, such as a TIFF or JPEG file. You can also think of an image as corresponding to a single display window (although in truth it is possible to have multiple windows all displaying the same image). It is not possible to have a single window display more than one image, though, or for an image to have no window displaying it.
A GIMP image may be quite a complicated thing. Instead of thinking of it as a sheet of paper with a picture on it, think of it as more like a stack of sheets, called “layers”. In addition to a stack of layers, a GIMP image may contain a selection mask, a set of channels, and a set of paths. In fact, GIMP provides a mechanism for attaching arbitrary pieces of data, called “parasites”, to an image.
김프에서는 동시에 많은 이미지들을 열 수 있습니다. 큰 이미지들을 동시에 열려면 많은 메모리가 필요하지만, 김프의 지능적인 타일기반 메모리 관리 시스템은 이러한 메모리 문제를 깔끔하게 처리할 수 있습니다. 하지만 한계는 있으므로 일반적으로는 사용 가능한 메모리를 늘이는 것이 좋습니다.
If a simple image can be compared to a single sheet of paper, an image with layers is likened to a sheaf of transparent papers stacked one on top of the other. You can draw on each paper, but still see the content of the other sheets through the transparent areas. You can also move one sheet in relation to the others. Sophisticated GIMP users often deal with images containing many layers, even dozens of them. Layers need not be opaque, and they need not cover the entire extent of an image, so when you look at an image's display, you may see more than just the top layer: you may see elements of many layers.
Digital images comprise of a grid of square elements of varying colors, called pixels. Each image has a pixel size, such as 900 pixels wide by 600 pixels high. But pixels don't have a set size in physical space. To set up an image for printing, we use a value called resolution, defined as the ratio between an image's size in pixels and its physical size (usually in inches) when it is printed on paper. Most file formats (but not all) can save this value, which is expressed as ppi — pixels per inch. When printing a file, the resolution value determines the size the image will have on paper, and as a result, the physical size of the pixels. The same 900x600 pixel image may be printed as a small 3x2" card with barely noticeable pixels — or as a large poster with large, chunky pixels. Images imported from cameras and mobile devices tend to have a resolution value attached to the file. The value is usually 72 or 96ppi. It is important to realize that this value is arbitrary and was chosen for historic reasons. You can always change the resolution value inside GIMP — this has no effect on the actual image pixels. Furthermore, for uses such as displaying images on line, on mobile devices, television or video games — in short, any use that is not print — the resolution value is meaningless and is ignored, and instead the image is usually displayed so that each image pixel conforms to one screen pixel.
A Channel is a single component of a pixel's color. For a colored pixel in GIMP, these components are usually Red, Green, Blue and sometimes transparency (Alpha). For a Grayscale image, they are Gray and Alpha and for an Indexed color image, they are Indexed and Alpha.
The entire rectangular array of any one of the color components for all of the pixels in an image is also referred to as a Channel. You can see these color channels with the Channels dialog.
When the image is displayed, GIMP puts these components together to form the pixel colors for the screen, printer, or other output device. Some output devices may use different channels from Red, Green and Blue. If they do, GIMP's channels are converted into the appropriate ones for the device when the image is displayed.
Channels can be useful when you are working on an image which needs adjustment in one particular color. For example, if you want to remove “red eye” from a photograph, you might work on the Red channel.
You can look at channels as masks which allow or restrict the output of the color that the channel represents. By using Filters on the channel information, you can create many varied and subtle effects on an image. A simple example of using a Filter on the color channels is the Channel Mixer filter.
In addition to these channels, GIMP also allows you to create other channels (or more correctly, Channel Masks), which are displayed in the lower part of the Channels dialog. You can create a New Channel or save a selection to a channel (mask). See the glossary entry on Masks for more information about Channel Masks.
이미지를 편집할때 일정 부분에만 영향을 미치도록 하고 싶을 때가 있습니다. 이럴때 “선택” 기능을 사용합니다. 선택을 하면 움직이는 점선으로 선택된 영역과 선택되지 않은 영역이 구분됩니다. 움직이는 점선을 흔히 “행진하는 개미떼” 라고 부르는데, 이는 엄밀히 말해 선택은 아닙니다. 김프에서 선택은 선택되거나 선택되지 않는 이분법적인 구분이 아니라 단계적으로 구현되어 완전한 회색톤 채널에 표현됩니다. 화면에서 볼 수 있는 점선은 50% 정도 선택된 영역의 윤곽선입니다. 퀵마스크 버튼을 눌러 퀵마스크 모드로 전환하면 선택의 제 모습을 확인할 수 있습니다.
김프를 효과적으로 사용하려면 선택을 잘 하는 방법을 배워야 합니다. 선택만 잘 다뤄도 거의 대부분의 작업을 할 수 있습니다. 이처럼 선택은 가장 중요한 부분이므로 김프에서는 선택 생성 도구, 선택 조정 도구, 그리고 색상 채널처럼 “칠하듯 선택”할 수 있는 퀵마스크 모드로의 전환 등의 상당히 많은 선택 관리 도구를 제공합니다.
이미지 작업 중 실수를 한 경우, 해당 작업 전으로 되돌릴 수 있습니다. 이미지에 할 수 있는 작업의 대부분을 실행 취소할 수 있으며, 실행 취소를 하기로 결정한 시점으로부터 상당히 많은 동작들을 실행 취소할 수 있습니다. 김프는 실행 취소를 위해 각 작업의 내용을 메모리에 저장합니다. 따라서 실행 취소가 가능한 횟수는 무한하지 않습니다. 작업 내용에 따라 실행 취소에 필요한 메모리 양이 다릅니다. 일부 작업은 필요한 메모리량이 무척 작아 많은 횟수를 실행 취소할 수 있는 반면, 일부 작업은 많은 메모리를 필요로 하기도 합니다. 김프의 각 이미지의 실행 취소 동작에 할당된 메모리량은 기본 설정에서 변경할 수 있습니다. 하지만 어떠한 상황에서라도 최소한 2-3회 정도는 실행 취소를 할 수 있습니다.(이미지를 닫는 동작은 실행 취소를 할 수 없습니다. 따라서 이미지를 변경한 뒤 이미지를 닫을 경우 김프는 자동으로 확인 과정을 호출합니다.)
대부분의 이미지 편집 작업은 김프만으로 가능하지만, 김프에서는 “플러그인” 이라는 외부 프로그램을 통해 조금 더 편리하고 지능적인 확장 기능들을 제공합니다. 중요한 플러그인들은 김프와 함께 배포되지만, 그 외의 수많은 플러그인들을 사용할 수도 있습니다. 플러그인(또는 스크립트)은 사용자들이 김프 개발팀에 참여하지 않고도 직접 김프의 기능을 확장시킬 수 있는 가장 손쉬운 방법입니다.
그런 까닭에 필터 메뉴의 모든 명령과 다른 메뉴들의 많은 명령들은 플러그인으로 구현되어 있습니다.
C 언어로 짜여진 플러그인 외에 스크립트를 사용할 수도 있습니다. 대부분의 스크립트들은 Script-Fu 라는 언어로 짜여졌는데, 이것은 Scheme이라고 불리는 Lisp 계열 언어로 김프 전용 언어입니다. Python 이나 Perl 등의 언어로도 스크립트를 만들 수 있습니다. 이러한 언어들은 Script-Fu 보다 유연하고 강력하지만, 김프와 함께 배포되지 않는 프로그램에 사용되기 때문에, 그 안정성에 대해 보장을 받지 못합니다.