Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
Website builder

Saving Images in GIMP

So you've created your first image in GIMP. Now what?

You should save your image (before something happens and you lose your 2 minutes of hard work!)

When saving images, you need to decide which format you want to save the image in. Of course, there's nothing stopping you saving multiple copies of the image, each in a different format. In fact, I recommend keeping multiple copies of your image - especially if you are doing a lot of work on it.

In any case, you still need to understand which is the best format to use.

Saving Your Image

In GIMP, the way you specify an image's format is to save it with the applicable extension.

For now, we'll save our image in XCF format (GIMP's native format). It's a good idea to have at least one copy of your image in native GIMP format. You might even create multiple copies, each at different stages of modification.

  1. Select File > Save As...
    Saving an image in GIMP
  2. Once the dialog box pops up, enter the image name ensuring you use a .XCF extension. Alternatively, you can expand the "Select File Type" node to select your preferred file type. You can also expand the "Browse for other folders" node to choose which folder to save the file into. Saving an image in GIMP
  3. Click Save

    Depending on the file format you use, you may see another dialog box where you can enter values specific to the file format. In this case, you can either use the default values or adjust settings as required.

About .XCF Extension

GIMP's native format uses a .XCF extension. This is the best format to use if you intend to modify the image in the future. By saving your file with a .XCF extension, you ensure that all image data (such as layers, channels, paths etc) is saved exactly how you created it. When you open it up again, you can continue from where you left off.

Note that only GIMP recognizes the XCF format - you will only be able to open XCF files with GIMP.

Saving For Web

There are two very important things to remember when creating graphics for the web:

  • Keep the file size down
  • Use the correct format

File Size

Graphics have the potential to be really big. I mean really big. The problem is that, if you don't know what you're doing, you might not notice how big the file size is. The graphic may look small on the screen but, if it's using a high resolution, its file size could be much larger than you need it to be. This could result in the image taking too long to download for your users to view.

Check that the image is using a resolution of 72 dpi. Assuming that it is 72 dpi, when you view the image at 100% zoom, it should be the correct size.

Also check that you're using the correct color mode (i.e. RGB, grayscale). Color images should be RGB. Black and white should be grayscale. To check this, go to Image > Mode. The current mode will be grayed out.

Correct Format

If you intend to use your image on a website or blog, you will need to save it in a format that web browsers recognize. The most common file formats to use for the web are GIF, JPEG, and PNG.

In general, JPEGs are best for complex images with lots of colors (such as photos). GIFs on the other hand, are better for images with flat colors (such as cartoon illustrations, logos etc). For more information on the difference between GIFs and JPEGs, see GIF vs JPEG.

Other Supported Formats

GIMP supports many different file formats. You can see these formats whenever you save a file and expand "Select File Type" (as in the screenshot above).

The next lesson covers the file formats supported by GIMP.

Enjoy this page?

  1. Add this page to your Favorites
  2. Link to this page (copy/paste into your own website or blog):
  3. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!