RAW Photos With GIMP

RAW Photos With GIMP

This photo was very underexposed, but because I shoot RAW, I was able to bring it back to life.
This photo was very underexposed, but because I shoot RAW, I was able to bring it back to life.

Hi! This post was written as extra info for folks reading my book, How to GIMP so It’s got a lot of extra information about what RAW files are and why you would want to use them.

But if you’re landing here from a search and you just want to know how to work with RAW files as a GIMP user, this post will be helpful for you too.

Skip to the sections you’re interested using these links, or read the whole post to take it all in.

What’s RAW and why should I use it?

When your digital camera takes a picture, it’s really just recording the light that hits its sensor. In some ways, the camera physically limits or transforms that light. The size of the lens’ aperture limits the amount of light that hits the sensor and how much of the scene can be in focus. The shutter speed also limits the amount of light hitting the sensor, and effects whether moving objects blur across the scene as they change position, or are crisply frozen in time. Those physical limits are set in stone as soon as you snap the photo.

But, there are a lot of ways in which your camera interprets the light that hits its sensor that aren’t a matter of physical limitations. Here’s an example: The white balance of a picture isn’t a matter of a physical transformation of light, but the way the camera interprets the light and decides what color to render pixels in the photo based on that interpretation. You give it information by telling the camera what kind of light you’re taking the picture in (or you let the camera guess the light by setting the white balance to “auto”), and the camera does its best to make white pixels white and not orange or blue.

When your camera records a JPEG photo, all of the settings in your camera that interpret how the light should be transformed into pixels are locked into that JPEG because the JPEG is just the collection of pixels the camera decids on. It doesn’t contain any information about the light hitting the sensor.

Sure, you can use something like GIMP or Photoshop to adjust the pixels in your JPEG. But that can only take you so far, especially when you’re dealing with problems like under or over exposure. If you’ve ever tried to brighten super dark shadows in a photo to bring back detail and you end up with an indistinct blob of gray, you know what I mean. If a group of pixels in the shadow of your image is totally black, no amount of adjustment is going to bring details back because GIMP and Photoshop don’t know anything about that group of pixels other than they started black and you want to make them a lighter color. Hence, the gray blob.

But a RAW file is totally different. It’s literally the raw information about the light that your camera recorded with no – or very little- interpretation imposed.

The RAW file contains information about the settings in your camera when you took the photo, so when you open it in a RAW editor you can see the way the photo would look as you shot it. But all of the information the camera had about the light hitting the sensor in that moment is in there too. What that means for you is that you can open that same photo in a RAW editor and literally change the white balance of the photo after you’ve taken it. Since interpretations of the light aren’t fused into the photo

Taking pictures in the RAW format opens up a lot of opportunities. You can change white balance after you take the picture to make colors more accurate, and you can adjust the exposure of the image really easily. The best part is, these changes are non-destructive. You can go back to the original at any time.

The original RAW file itself is never really edited. Instead, the changes you make in a RAW editor (like UFRAW, Adobe Camera RAW, or RAWTherapee) are stored in a ‘side car’ file. This file tells the RAW editing program what settings to apply every time you open the RAW file, but it doesn’t permanently apply the settings until you export the file to a format like JPG.

In fact, if you delete the RAW Sidecar file, the RAW image will go back to its original state when you open it in the RAW editor, because there’s nothing to tell the RAW editor which settings should be applied. Because changes to RAW images are only stored in a side car file, you can go back and re-edit the original RAW file at any time without loss of image quality.

Can GIMP handle RAW photos? How GIMP users can take advantage of RAW.

Can you use RAW files as a GIMP user? Yes.

Can you work with RAW files directly in GIMP? No.

In order to work with images you shot in a RAW format in GIMP, you’ll need a RAW converter to first change them to something that GIMP can read, like TIFF or JPG.

That’s not a GIMP quirk, it’s a RAW quirk. Even if you were using Photoshop, you would have to first work with the file in something like Adobe Camera RAW, and then convert the file to something like a JPEG or a TIFF that Photoshop can recognize to continue working on it.

Don’t worry, you won’t lose the advantages of shooting RAW files by using a RAW converter. These conversion programs typically have editing tools built into them that allow you to leverage the flexibility of the RAW format before you convert the file. You can do things like make white balance and exposure changes and save them as a sidecar file. I talked about those above in the What’s RAW and why should I use it? section in case you’re interested.

Once you convert the RAW file to a JPG or TIFF, those settings from the sidecar are permanently applied to that JPEG or TIFF file. When you open the photo in GIMP, it will recognize the image just like any other JPG or TIFF. You can’t exactly undo the changes you locked into the JPG or TIFF, but the original RAW file and sidecar file will still be on your system just in case you want to start over or tweak the settings in that sidecar file.

Free RAW converters to use with GIMP

If your camera can shoot RAW photos, it may have come with RAW conversion software, and if it did, I recommend using that software for your RAW editing process. But, if your camera didn’t come with this software, there are some free options available. One of these options is called UFRAW, and it’s designed to work with GIMP.

How to install a free RAW converter

The UFRAW Window. Click to see a larger version of this image.

For Mac

Good news everyone! If you downloaded GIMP from this site UFRAW may have come with your GIMP installation. If that’s the case, you won’t have to do anything. To check if you’ve already got UFRAW installed on your computer, follow these steps:

  • Open GIMP.
  • Go to File > Open in the Main Menu. The Open window will pop up.
  • Navigate to any RAW image file you have, highlight it, and click Open.
  • If a funky looking window opens up with your picture in it (looks like the image above), you already have UFRAW installed.

If you get a warning that you can’t open the RAW file with GIMP, you will need to install a separate RAW converter.

I recommend trying RAWTherapee. You can find the download here, and instructions on using it here.

Once you download RAWTherapee, double click the ZIP file to open it, then open the DMG file to run the automatic installer. You can drag the RawTherapee icon into your Applications folder to keep RAWTherapee handy when you need it.

For PC

  • Make sure you have GIMP installed.
  • Then, download UFRAW from this link.
  • Open the package, and follow the instillation instructions.
  • Now, open GIMP, and go to File > Open in the Main Menu.
  • Navigate to any RAW file, highlight it, and click Open.
  • Your RAW image will open in a new, funky looking window. That’s UFRAW. Now you can start editing!

How to Use UFRAW

There are a ton of options and controls in this UFRAW window. It’s such a powerful tool, I could easily write a book on just UFRAW! Thankfully, there’s already some pretty good documentation available. So, instead of re-writing all of it here, I’ll send you to the UFRAW Users Guide for more information on how to use it.

  • UFRAW Users Guide
  • Have Fun! And let me know if you have any issues. I can’t offer official support for UFRAW, but I can try to help in some cases, or direct you to someone else who can help more.