Manipulating Graphics with The GIMP

Contents

22.1. Graphics Formats
22.2. Starting The GIMP
22.3. Getting Started
22.4. Saving Images
22.5. Editing Images
22.6. Printing Images
22.7. For More Information

Abstract

The GIMP (The GNU Image Manipulation Program) is a program for creating and editing raster graphics. In most aspects, its features are comparable to those of Adobe Photoshop and other commercial programs. Use it to resize and retouch photographs, design graphics for Web pages, create covers for your custom CDs, or almost any other graphics project. It meets the needs of both amateurs and professionals.

Like many other Linux programs, The GIMP is developed as a cooperative effort of developers worldwide who volunteer their time and code to the project. The program is under constant development, so the version included in your system may vary slightly from the version discussed here. The layout of the individual windows and window sections is especially likely to vary.

The GIMP is an extremely complex program. Only a small range of features, tools, and menu items are discussed in this chapter. See Section 22.7, “For More Information” for ideas of where to find more information about the program.

Graphics Formats

There are two main types of graphics—raster and vector. The GIMP is intended for working with raster graphics, which is the normal format for digital photographs or scanned images. Raster image is a collection of pixels—small blocks of color that together create the entire image. High resolution images contain large number of pixels and image files can easily become quite large because of this. It is also not possible to increase the size of a pixel image without losing quality. The GIMP supports all the common formats of raster graphics, like JPEG, PNG, GIF, BMP, TIFF, and more.

Unlike raster graphics, vector graphics do not store information for all individual pixels. Instead, it uses geometrical primitives such as points, lines, curves, and polygons. Vector images can be scaled very easily and image files can be smaller. The disadvanage of vector graphics is that it is not good at representing complex images with many colors such as photographs. There are many specialized applications for vector graphics, for example Inkscape. The GIMP has only a very limited support for vector graphics. For example, the GIMP can open and rasterize vector graphics in SVG format or work with vector paths.

The GIMP 2.4 has still supports only limited selection of color spaces. It supports indexed images and grayscale or RGB images with 8 bits per channel (24 bits per pixel in RGB images without alpha channel). Many high-end digital cameras can produce image files with higher color depths. If you import such an image to the GIMP, you will loose some color information.