Save instead of Export in GIMP 2.8

Version 2.8 of GIMP saves images as .xcf files by default when you hit CTRL-S. I remember a development version did this years ago but it was reversed before final release due to user feedback AFAIR.

I can understand the reasoning behind this decision but I hate it. It really, really bugs me. I don’t think it’s going to change in the future but if you must have your CTRL-S “save as a bloody jpeg because I said so” there is a way around it. You’ll use keyboard shortcuts.

Go to Edit->Keyboard Shortcuts and then search for export. Now change the shortcut to CTRL-S for either “Export…” or “Export to”. The former shows a save dialog, while the latter overwrites the file you have loaded. I prefer the save dialog.

You’ll still get the “close without saving” dialog. If it really bugs you (and I think it will) there’s a checkbox in the preferences asking you to, “confirm closing of unsaved images”.

*sigh* what a mess.

The Curves Tool

The curves tool is a very basic tool that can be used to improve photos with a few clicks of the mouse. It is used to change the brightness and contrast of an image. It can also modify the separate Red, Green and Blue channels of an image too. The Curves Tool has a histogram to represent the shadow, midtone and highlight detail in the image. In the GIMP, you access it by right clicking on an image and go to Colors->Curves.

This is the second article in my GIMP for Photographers series, but as usual, all of this applies to Photoshop, or any other image application with a Curves Tool. The first tutorial was on The Levels Tool, and worth a read if you missed it!

Here’s an image I shot at the Lord Mayor’s Picnic in Fitzgerald’s Park a few months ago, and the Curve Tool below it. Notice the histogram? The photo is fairly well exposed, but some highlights are “clipped”, as the histogram hits right hand side without sloping off.


Brightening Curve

It’s easy to brighten an image. Just drag points on the line up.


Darkening Curve

Now, let’s darken the image by dragging points down.


Contrast Curve

A classic use of the Curves Tool is to increase contrast in an image. You do this by darkening the shadows, and brightening the highlights. The curve looks sort of like an “S” when you do this. Don’t go overboard on this though, because it’s easy to lose detail in either direction.


If for some reason your image has too much contrast, a quick inverted S curve will solve that problem,


Wacky Colours

You can select any of the Red, Green and Blue channels and do strange things to your photos. Here’s what happens when you play with the Red Channel.


And here’s what happens when you change multiple colour channels in different ways.

Colour Picker

After you have opened the Curves Tool, click anywhere in the image. Notice how a vertical line goes up and down the histogram/line? That vertical line is the colour of the pixel where you clicked. That can be useful if you’re trying to modify a particular part of a photo. This is what you get when you click on the black coat on the left of the image above.

Aperture ƒ/6.3
Camera Canon EOS 20D
Focal length 18mm
ISO 200
Shutter speed 1/250s

GIMP For Photographers: Levels

GIMP Colors Many people find using the GIMP or Photoshop a daunting prospect but in fact those packages are quite easy to use once you’ve practiced a few times. This will be the first in an occasional series to help photographers use the GIMP to post process their photos.

The Levels tool (right click on your image, select Colors, then Levels) is used to adjust the levels of the colours in your image by manipulating a histogram representing the image. In simple terms, you can make broad changes to the Red, Green, Blue and overall “Value” parts of your image.

The single most useful function of the Levels tool is the “Auto” button. Click that button and the histogram will be stretched out. Your image should look better. If the photo lacked contrast, it can suddenly become a lot “punchier”!

Here’s an example which will make things clearer.

GIMP Levels before example

This is a nice photo I took in Galway in 2005 with a Sony 717. Unfortunately, there’s a nasty yellowish sheen to the image. I probably shot this with the white balance set to cloudy. That can give a pleasing golden look to images but it’s not always welcome. The image also lacks contrast and looks under exposed. How do I fix that?

GIMP Levels

Fire up the GIMP Levels tool. Right click on the image, go to Colors, then Levels. This is the histogram for the image above. See how it’s all bunched into the middle? Now, click on the “Auto” button.

GIMP Levels after example

Wow! One click did that? The image looks so much better now! The swans actually look white and it’s brighter and shiny!

GIMP Levels

I opened the Levels tool again, just to see what effect “Auto” had on the histogram. Sure enough. It’s stretched from side to side.

Levels before and after
Before and After Auto Levels

Wasn’t that easy?

Advanced Usage
You may have noticed the eyedropper buttons next to to the Auto button. Those are “Black”, “Grey” and “White” selectors. Click on one of those, your cursor will change to a eyedropper and then click on the corresponding colour in your image. They work pretty well, but can be confused. If it all goes wrong, just click the Reset button, or CTRL-z to undo if you’ve clicked OK.

You can also manipulate the histogram manually. Just drag the sliders left and right until your image looks ok. You can change the channel with the drop down at the top of the Levels dialog. Changing individual channels does interesting “cross processing” things to an image.

External links:

  1. The Levels tool on gimp.org docs
  2. Levels Tool – white, black and grey to the rescue! – a tutorial I wrote about the levels tool back in 2004!

Want to know more? Leave a comment. I’d love to hear what you’d like to know and learn about the GIMP.

Children at play

A sign in Fermoy, Co. Cork warns motorists to watch out for kids playing on the road.

I’ve seen so many people speed through built up areas these signs mean absolutely nothing to them.

Technique:
1. Original image was flat and plain. Background sky was monotonous so I ran it through auto-levels which brought out the colours.

2. Then I duplicated that layer and blurred it using Gaussian Blur with a radius of 25px (original image is 3504px wide). By adding a layer mask I was able to rub out some of the blurred layer to expose the sharp original below. Opacity was set to 41% to reduce the blur effect.

3. Finally an overlay layer was added and circular gradients drawn on with a low opacity. This darkens the sky and sign slightly in patches.

All manipulation done in the GIMP but will work just as well in Photoshop or other application.

Was that useful? Want more?

Adam and his baby soother

Adam is 5 weeks old today! Last Wednesday we saw his first smile, or perhaps it was trapped wind because he was just after feeding but it was a beautiful sight to behold. He has smiled since too, and was especially cheerful this morning!

Adam loves his baby soother though. He sucks on it like Maggie out of the Simpsons does. Non-stop and with feeling!
If a soother or dummy isn’t nearby and it’s available, a hair dryer works wonders for relaxing him. The sound soothes him and he can go from screaming the house down to docile and a gurgling baby in seconds when the hair dryer is switched on. It’s magic.

Technique: This is a high key portrait created using two layers.
1. Original image is the bottom layer.
2. Duplicate that layer.
3. Convert top layer to b/w using channel mixer.
4. Apply Gaussian blur to the top layer. I used a 75 pixel wide blur.
5. Change mode of top layer to screen.
6. Add white layer mask to top layer and reveal eyes from original image by painting over them with a black brush. Use an opacity of 10%.
7. Merge layers and save. Layers should be separate when resizing so you can unsharp mask the bottom layer.

Hope that is of use!

First Draft: Ready to go!

John asked what did he original Ready to go! look like and I’ll oblige now. Showing what the original photo looks like is akin to showing what the first draft of a written essay or post reads like. Sometimes the image comes out perfectly in the camera but that’s rarely the case. At the very least light levels have to be balanced and if resizing for publication online then the resized image has to be sharpened.

Hover over the image below to see what the original shot looked like. Hopefully this will work for RSS readers but if it doesn’t, visit the blog and leave your mark here!

Notice how I rotated the image? I had to reconstruct the bumper on the right of the picture, as well as filling in the gaps at the other corners of the photo. Tree branches and leaves are easy enough, as is the relatively solid black texture of the tar on the road, but the bumper was difficult, and the shaded area of the building on the left presented me with a few extra minutes of clicking to get right.

Want to see more “First Draft” posts? I can’t promise to do many, but if you have a compelling reason why you’d like to see the original of a photo I’ll do my best to help!

PS. Bryan – you might recognise the CSS. I took it from the button of doom you did! Hope you don’t mind!

PPS. Treasa has posted a tutorial of how she worked on two photos with steps in Photoshop to get the desired effect. Nice!