Category: Photography

Raw Photos In GIMP

Raw Photos In 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 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?

How A Camera Records Light

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 lens aperture limits the amount of light that hits the sensor and determines how much of the scene is in focus. The shutter speed also limits the amount of light hitting the sensor, and effects whether moving objects blur or stay sharp. 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 the camera decides what color to render pixels in the photo based on its interpretation of the scene. Whether you chose a white balance setting like “daylight”, or “cloudy”, or let the camera guess the light by setting the white balance to “auto”, the camera will do its best to make everything the right color.

Why JPG’s Are Hard To Post Process

When your camera records a JPEG photo, the way your camera decided the light should be transformed into pixels is locked into that JPEG. It doesn’t contain any information about the way the light was hitting the sensor when you hit the shutter button. It’s just a collection of “dumb” pixels.

Sure, you can use something like GIMP or Photoshop to adjust the pixels in your JPEG. But if you’ve ever tried to brighten super dark shadows in a photo only to end up with an indistinct blob of gray, you know that those dumb pixels are missing a lot of critical information.┬áIf pixels in the shadow of your image are totally black, no amount of adjustment is going to bring details back because GIMP and Photoshop don’t know anything about what was actually in the shadow. It just sees a group of black pixels that you want to make lighter. 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 very little interpretation imposed.

The RAW file also 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.

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. Even then, the original RAW file is still untouched.

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.

Adobe has been busy making its whole ecosystem more connected, so it really feels like you can just open a RAW file in Photoshop. You’re going to miss out on that seamless experience in GIMP. But you definitely still can use RAW files if you’re a GIMP user. You just have to process them first with a RAW processor/converter program.

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 tweak the settings, or even start over.

Free RAW converters to use with GIMP

If your camera can shoot RAW photos, it may have come with RAW conversion software. 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.

Another free option is 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.

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.