The GIMP wants out of my photo workflow

Posted on

I’ve been a big fan of the GIMP for as long as I’ve owned a computer. It’s an easy-to-use, free and open-source image editor with loads of functions, and there are countless user-contributed plugins, brushes and filters. I’ve written a few posts on ways to use it.

However….(clouds obscure the sun and thunder crackles in the distance)…the latest and greatest GIMP, version 2.8.0, is a lot less nice to use for my most common edits.

Saving a JPEG is now considered an export, not a save. This sounds like a trivial change in terminology, but it has workflow implications. “Save,” “Save as…” or “Save a Copy…” will only save a native GIMP XCF file. Typing another file extension in one of those dialogs invokes an order to go use “Export” if I want that filetype. When I’m saving a JPEG photo with a couple of tweaks, for which it’s not worth saving intermediate steps, this throws me for two wobbles:

First, the “Export” menu item is not grouped with the “Save”-type items; instead it’s a long mouse sweep into another section, JUST PAST “Overwrite foo.jpg.” Clicking a tiny bit prematurely has seriously unwanted results.* I can overcome this by getting used to using the keyboard shortcut, although I would argue that since the menu is there, there ought at least to be an option to lay it out a little more safely.

What I can’t see a way around is that, each time I export a file, I face a popup asking me to confirm that I want to close the original file “without saving,” because I have not saved an XCF.

This is a huge sticking point, because apparently, this is very important behaviour. It protects the file from being inadvertently closed after saving in a format that doesn’t preserve all the info present in the native format.

Here’s a 2009 quote from GIMP developer Martin Nordholts:

“A lot of people over at GIMPUSERS.com want the old save and “export” mechanism back. The conclusion to draw from that is that they are not part of the user group we are targeting. We are not trying to make GIMP into an excellent JPEG touchup application, we are making GIMP into a high-end photo manipulation application where most of the work is done in XCF.”

So this has been in the works for some time. Also: Ouch. I’ve been blissfully unaware that, for at least the past three years, I haven’t been supposed to be using the GIMP unless my edits merit saving layers and masks, etc.

Not that anyone cares, but in my assessment, allowing me to select a file format in the “Save As…” dialog doesn’t have to bother those who want a failsafe against losing the extra data saved in an XCF file. A warning dialog can pop up when users select a non-native format, in case that wasn’t really what they wanted to do, with a “don’t show this warning again” checkbox to restore the old workflow for those who want it. Or the behaviour could be set in preferences.

I suspect such suggestions for compromise have been made numerous times. They are not being entertained: here’s a May 2012 forum comment on gimpusers.com by developer Michael Natterer:

“You can stop this crap, the save and export stuff is going to
stay as specified here:

http://gui.gimp.org/index.php/Save_%2B_export_specification

Period. This is the final word in this discussion.”

Hm.

So for now, what are my options? Perhaps I can write a plugin that lets me close a file after export without nagging me to make an XCF copy. Maybe there’s some other software I can switch to for my routine photo processing.

As it happens, I already regularly use two programs explicitly intended for photo “development:” Darktable and Digikam.

I started using Darktable for RAW processing but it will take JPEGs as input too. I find the user interface a bit tedious at the moment: the plugins in the plugin palette are represented by highly-stylized and sometimes non-obvious icons, so I have to run my cursor over them all and read their identifying tooltips. I also find the plugin group tabs a bit awkward to navigate; they get crowded and require a lot of vertical scrolling. It allows presets to be saved, and will do batch export. There isn’t (yet) any sort of tool for drawing selections and masks, or painting in adjustments (like dodging and burning), but there is a spot-removal tool. It’s already a sweet application, and it’s under active development.

I use Digikam to tag and view my photos, so using its built-in editor could have workflow advantages. It’s now pretty fully-featured (and handles RAWs). Files can be kept track of as versions of the originals. Again, to my knowledge, no area selections or masking. Periodically, I check out Digikam’s editing and batch-processing capabilities. Thus far, I’ve always returned to my comfort zone (the GIMP) to just get the job done. One thing that could help tip the balance back to Digikam in more cases is to be able to save sets of operations and their presets in the batch queue manager for later recall (this is bug 251126 on the KDE bug tracker).

A major advantage I see to the GIMP is its curves tool. I haven’t got the knack for manipulating curves quickly in Darktable, where the positions of the markers on the horizontal axis determine the resulting shape when the curve is dragged. More importantly, neither Darktable nor Digikam seems to have an equivalent function to the dropper tool, built into the GIMP “Curves” dialog, which allows me to sample a point in the image, and marks its position on each channel of the histogram superimposed on the curve. This allows me to really quickly zero in on the parts of the curve that correspond to the bits of the image I want to adjust, and it seems like an obvious feature for a curve tool to have.

For the sake of (relative) completeness, I had a look at the curve adjustment tool in Krita, even though as I understand it, it’s really meant as a painting program. As far as I can see, its curve tool has no dropper and operates only on single red, green, or blue channels, with no option to cover luminosity or value. Pinta, too, has the dealbreaking lack of a dropper.

Curve adjustment is one of my most common tweaks, so the GIMP is still the most comfortable tool to use. Darktable and Digikam are both close and improving all the time. Importantly, what I mean by improving and what the developers mean by improving are pretty well-aligned. Maybe there’ll come a day when I can stop using the GIMP for most of my edits, which, it seems, would make its developers happy.

What a strange thing I just typed. I still can’t get my head around this, even though I understand that driving away the users whose primary use-case they disdain is not necessarily the problem it would be for commercial software developers. We’re not customers, in the sense that I’d be Adobe’s customer if I bought Photoshop (which could only happen if I ran Windows or Mac OS), so the weight of my opinion has to be measured in units of something that the devs value. It looks as though maybe that would be some flavour of prestige. Will the GIMP be more prestigious when people stop recommending it to their friends for photo adjustments? I honestly don’t know.

* I think, after reading this, that the devs think someone using GIMP for editing JPEGs will want to overwrite their original. Does anybody really want to do that? For the record, I sure don’t.

 

Playing with saturation in the GIMP

Posted on

I’ve come across a few queries on the net about whether the GIMP has a “sponge tool like in Photoshop.” (for example, here, here, and here). I was going to say people seem to come away without a good answer, but it turns out the answer comes up occasionally, as it does in that last link. That’ll teach me to write the post and then research my references. Not. Anyway, it seems to me that this “sponge” tool is more or less a paintbrush in saturation adjustment mode.

I’ve never really wanted to do this, but having come across the idea, I’ve thought about it a little, and now played with it a little. Say you had a picture of a girl with a purple jacket on, and you’d like it to really stand out, more intensely than it does in your photo. This sounds like a job for a layer mask to me (funnily enough, so does any adjustment you want to apply to only part of your picture).

Continue reading “Playing with saturation in the GIMP”

GIMP: Combining selections

Posted on

In case Part II (Filters -> Decor -> Round Corners) wasn’t enough, in case Part I (Select -> Rounded Rectangle) wasn’t enough, in case even Part III (layer masks) wasn’t enough to satisfy the demand for demonstrations by me of photographs with round corners…I feel compelled to ask:

What happens if you only want some of your corners to be rounded, not all of them??  I’m just going to demonstrate what I would do; this may not be the smartest way.  Here, I’ll take a photo with four square corners, and make it into a photo with three square corners — and one round one!  If you wanted to do that, it would probably have something to do with Web 2.0.  Or Web 2.0 squared.  Or maybe just a presentation of some sort.  I don’t know.  Making top or bottom corners round is actually pretty common for web graphics.  Like my banner as of the time of writing.  Seriously, couldn’t I be more original?

Anyway, as with the last demonstration, on layer masks, this actually also demonstrates a technique you might want to use for something else entirely.  This time it’s making a selection of a desired shape by putting individual simple selections together.

Trumpington Street on a Thursday evening

Here’s a photo that doesn’t need its corner chopped off, in my opinion (although there are a couple of things I can think of that it could stand to have done to it).  But it has volunteered to demonstrate the method.  It won’t be going into any presentations, unless you count this.

As I (and many before me) have amply demonstrated, shaving all the corners is spectacularly easy or somewhat complicated, as you prefer. To only do one takes just a little more work. The way I’m going to do it involves making several selections with simple shapes, and combining them together into one selection with the shape we want in the end. Here’s a schematic:

dia1

I’ll start with a rounded-rectangle selection like in Part I (just go to Select -> Rounded Rectangle).

shot38

shot39

The whole picture is selected except the corners. Now, I’d like to add three of the corners back in. This is a simple enough exercise that you could do it just by setting the rectangle-select tool to add to the selection (in its tool options), and then just select each of the corners you want back.  I’ve circled the “addition” mode in red in this screenshot:

But as an exercise, let’s save each individual selection to a channel and put them together later. This means if it takes me a couple of tries to get one of the parts right, I don’t have to redo the other parts.  For this we’d use the rectangle-select tool in replace-selection mode  (to the left of the “add” mode I circled).

Save the first selection to a channel.

shot39b

Make the next selection:

shot40

Save it to a channel too, and make the final selection:

shot41

And, of course, save it to a channel.

shot42

Then go to the Channels dialog and for each channel in turn, right-click and choose “Add to selection.”

Once all three channels have been added to the selection, I go back to the Layers tab and click on the image layer to make sure it’s active, then use the Ctrl-C; Ctrl-Shift-V trick to copy the selection and paste it as a new image.  If I want to add a white layer and put it below the image layer, I can do that now; otherwise I’m done!

nightroad1round500

This process obviously needs very little modification for different numbers of round corners.   I imagine it’s possible to do this pretty much the same way if you use Photoshop.

If you had a bunch of pictures the same size and shape that you wanted to nip a corner from, it would probably be worth saving the final selection to a channel and saving that to its own image; then you could just load up whenever you wanted to use it.