Photo Editing

Never Destroy Pixels You Might Want Back: A Working Method

Masks, clipping masks, smart objects and adjustment layers, and why they change how brave you are.

Every edit is either reversible or it is not, and the difference costs nothing at the moment you make it. It shows up later, always at the worst time.

A layer menu with masks, clipping masks and smart objects

The single habit that improved my editing most had nothing to do with skill. It was deciding, once, to stop destroying things.

Every edit you make is either reversible or it is not, and the difference costs nothing at the moment you make it. It only shows up later, when the client wants the version without the blur, or you notice at 90 per cent zoom that you cut off a strand of hair, or you want the same treatment on a different photograph.

The rule

Never change pixels you might want back.

That is the whole philosophy. Everything below is just the four mechanisms that make it practical.

Layer masks: hiding instead of deleting

A mask is a grayscale image attached to a layer. White means visible, black means hidden, and every gray in between means partially visible. Add one via Layer, then Add Layer Mask, click the mask thumbnail to target it, and paint.

Paint black to hide. Paint white to bring it back. The pixels never went anywhere.

Once this is a habit it changes how you work, because a mask can be refined over several passes. Selections are made in one shot and you live with them. Masks let you knock out the background roughly, put the subject on its new background, see what is actually wrong, and fix exactly that with a soft brush at low opacity.

It also means you can be brave. Try the aggressive version, look at it, and pull half of it back. That is a completely different relationship with an edit than “commit and hope”.

The gray nobody uses

Most people paint masks in pure black and pure white. The interesting work happens in between. A soft brush at 20 per cent opacity, built up in several strokes, produces edges that no selection tool can generate, because you are blending by eye rather than by threshold. For hair, smoke, the edge of a shadow, this is the whole technique.

A layer menu with masks, clipping masks and smart objects
Add Layer Mask, Create Clipping Mask, Convert to Smart Object. Three menu entries that between them prevent most regret.

Clipping masks: shape without cutting

A clipping mask restricts a layer to the shape of the one beneath it. Put a photograph above a circle, clip it, and the photograph appears only inside the circle.

The photograph is untouched. Move it and a different part shows through the circle. Resize the circle and the photograph reveals more or less of itself. Nothing was cropped, and both parts stay independently editable forever.

This is how you build every frame, every text filled with an image, every rounded card with a picture in it. I use it more than any other single feature, because it turns “crop this to fit” into “put this behind a window”, and the second one you can change your mind about.

Smart objects: a document inside a document

Convert a layer to a Smart Object and it preserves its original content no matter what you do to the container.

Two consequences make this worth the extra step. Scaling becomes safe: shrink a smart object to a tenth and back and it is still sharp, because the original data is intact rather than resampled twice. And filters applied to it become smart filters, which stay editable, so the blur you set to 12 can become 6 next week without undoing anything.

Edit Contents opens the embedded document in its own right. Change the logo inside, close it, and everywhere the smart object appears updates. If you have ever needed to change one graphic in fourteen places, you already understand why this matters.

Adjustment layers: the edit that floats above

A curve or a color adjustment can be applied directly to a picture, in which case the pixels change and that is that. Or it can live on its own layer above, affecting everything beneath it without touching any of it.

Three things you get for free with the second option:

  • Strength becomes a slider. Made the grade too strong? Drop the layer to 60 per cent. This is the easiest way to get a subtle result: deliberately overshoot, then dial back.
  • It can be masked. Now the adjustment affects only the sky, or only the face, and you painted that in ten seconds rather than making a selection first.
  • It can be switched off. Which sounds trivial until a client asks to see it without, and you can show them in one click instead of an hour.
A layer panel with blend mode and opacity controls
Opacity on an adjustment layer is the volume knob for an edit. Almost every grade I make is deliberately too strong and then turned down.

Keeping the file navigable

Non-destructive work produces more layers. That is fine right up until you open the file two months later and it is forty layers called Layer 12.

Three cheap habits fix it. Name a layer the moment you make it, which takes two seconds and saves five minutes. Group things that belong together, because collapsing a group is how a complicated document stays readable. And use color labels for the parts you keep coming back to.

The filter box at the top of the layers panel finds layers by name, which only helps if the names mean something. That is the whole argument for naming them.

When to flatten anyway

Being non-destructive is a working method, not a religion. There are moments to commit.

Export is one: the file you hand over should be flat. A finished element you are certain about is another, particularly if the document is getting heavy. And sometimes a technique genuinely needs baked pixels to work on.

The rule I use: flatten a copy, never the original. Duplicate the group, flatten the duplicate, keep the live version underneath and switched off. Disk space is cheap and rebuilding an hour of masking is not.

What actually changes

The obvious benefit is that you can fix mistakes. The real one is that you take more risks, because a reversible experiment is not a decision.

You try the heavy grade. You mask out half the sky just to see. You push the blur further than sensible. Most of it gets pulled back, and the one in five that survives is a better picture than the careful version you would have made if every step had been permanent.

Table of Contents

Learn it by building something

Every week one thing you can make the same afternoon, from dynamic templates to 3D type. Written down step by step.

One mail a week, and then it ends.
Unsubscribe in one click.

Free

Chaos Art

Autonomous painters make one-of-a-kind abstract art in 3D space - gestures, art movements, painterly media, and embeds that paint a new original for every visitor.

Download the free WunderPaint Plugin for WordPress

The Image Editor & Design Studio

Everything described here can be done in the browser, on your own site. The live demo runs the full editor with nothing to install.

Design Tools

Brush & Paint Styles

Paint with six styles that mix pigment instead of blending it, pick from thirty-seven tips shown as real strokes, draw a tip of your own out of shapes, and let the color travel along the stroke.

Workflow & Automation

Dynamic Templates: Build the Design Once, Let Your Posts Fill It In

You build the layout once, tell a few layers where to get their content, and from then on every post, product or page renders its own version.

Print & Craft

Making Things That Fold: Dielines, Duplex and Why Previews Matter

A gift box, a paper crane, a bunting banner. They look simple, and they fail in ways flat design never does, because there is a second geometry underneath.

WordPress Images

Why Should a Design Become a File at All?

Every static graphic on a page is a snapshot of what was true when somebody exported it. There is a whole category of quiet wrongness that follows from that.