No image function is as important as+ . It is better to save too often than too rarely. Use + to save the image with a new file name. It is a good idea to save image stages under different names or make backups in another directory so you can easily restore a previous state.
When saving for the first time or using, a dialog opens in which to specify the file name and type. The current directory in shown in a box centered above the two columns. Select another directory by double-clicking it in . To save the image as an existing file, select it in . Otherwise, enter a new name in the field at the bottom. It is recommended to leave set to . With that setting, GIMP determines the file type based on the extension appended to the file name. The following file types are frequently useful:
This is the native format of The GIMP. It saves all layer and path information along with the image itself. Even if you need an image in another format, it is usually a good idea to save a copy as XCF to simplify future modifications. Information about layers is available in 20.6.1. “Layers”.
This is the format used for GIMP patterns. Saving an image in this format enables using the image as a fill pattern in GIMP.
JPG or JPEG is a common format for photographs and web page graphics without transparency. Its compression method enables reduction of file sizes, but information is lost when compressing. It may be a good idea to use the preview option when adjusting the compression level. Levels of 85 percent to 75 percent often result in an acceptable image quality with reasonable compression. Saving a backup in a lossless format, like XCF, is also recommended. If editing an image, save only the finished image as JPG. Repeatedly loading a JPG then saving can quickly result in poor image quality.
Although very popular in the past for graphics with transparency, GIF is less often used now because of license issues. GIF is also used for animated images. The format can only save indexed images. See 20.6.2. “Image Modes” for information about indexed images. The file size can often be quite small if only a few colors are used.
With its support for transparency, lossless compression, free availability, and increasing browser support, PNG is replacing GIF as the preferred format for web graphics with transparency. An added advantage is that PNG offers partial transparency, which is not offered by GIF. This enables smoother transitions from colored areas to transparent areas (antialiasing).
To save the image in the chosen format, press. To abort, press . If the image has features that cannot be saved in the chosen format, a dialog appears with choices for resolving the situation. Choosing , if offered, normally gives the desired results. A window then opens with the options of the format. Reasonable default values are provided.