Free lesson · lesson 1 of 6
Non-Destructive Versioning in Photoshop
The Cost of Flattening
In professional production, flattening is the act of merging all your layers into a single image. When you flatten a file—or use a format like JPEG that doesn't support layers—you destroy the history of how the image was made. You are left with a single set of pixels where every decision is permanent.
Consider a product shot of an olive-oil bottle. You use Generative Fill to add a stone table, but the AI makes a mistake: it blends the bottom of the bottle into the stone, erasing the glass edge. In a flattened JPEG, that mistake is baked in. To fix it, you must start over or try to paint over a mistake with more AI guesses, which often leads to a polished look that hides an unreviewable source.
In a layered PSD (Photoshop Document), the original bottle remains untouched on one layer, and the generated table sits on another. If the AI ruins the edge, you simply delete the table layer or mask out the error. By refusing to flatten, you ensure that the machine's guess never replaces your source of truth. You keep the power to revert any single decision without losing the rest of your work.
Flattened (JPEG)
- AI mistake is merged into the source
- Reverting requires restarting the job
- No way to toggle the 'guess' off
- Changes are permanent and destructive
Layered (PSD)
- AI mistake is isolated on its own layer
- Reverting means deleting one layer
- Original source remains untouched
- Changes are non-destructive
Notice how the layered approach isolates the error for a quick fix.
Try it
What is the primary risk of flattening a file after using generative AI tools?
Locking the Source
To prevent "version drift," you must establish a permanent source of truth. In Photoshop, this means designating your primary asset—the original, high-resolution studio photograph—as the foundation of your file. This layer should always reside at the very bottom of your Layers panel.
Imagine you are working on the olive-oil bottle project. You start by importing the studio shot of the bottle on a grey seamless background. Before you ever touch a generative tool or a brush, you select that layer and click the lock icon in the Layers panel. By locking the layer, you create a physical barrier that prevents accidental edits. You cannot accidentally paint over the label or use a generative fill that permanently alters the bottle's shape because the software will block any direct manipulation of those pixels.
As you build the scene—adding a generated stone table, adjusting evening light, or placing an olive branch—every new element is stacked on top of this locked foundation. If a client later asks for a different product bottle, you know exactly where the original resides. You can replace the bottom layer without having to hunt through a mess of merged edits to find where the original glass edge used to be.
The original bottle shot is locked at the bottom, acting as the anchor for all subsequent layers.
Try it
Why is it critical to lock the original studio shot as the bottom-most layer before beginning production edits?
One Change, One Layer
To maintain a traceable history, you must treat your Layers panel as a vertical log of decisions. The rule is simple: every single manual or generative edit must occupy its own separate layer. When you combine multiple changes on one layer, you create a 'black box' where it is impossible to tell which specific action caused a visual error or which part of the image was modified.
Take the olive-oil bottle project again. First, you use Generative Fill to create a 'stone table'; Photoshop places this on its own generative layer (Layer 2). Next, you decide the scene needs warmer, late-afternoon lighting. Instead of painting the warmth directly onto the stone table, you create a new Adjustment Layer (Layer 3) to shift the color balance.
By separating these, you isolate the content (the table) from the style (the lighting). If the client loves the stone table but hates the orange tint, you can delete or adjust Layer 3 without touching the AI-generated pixels on Layer 2. This granularity ensures that you never have to guess which change to revert to satisfy a client request.
Put these in order: tap two to swap them, or use the arrows.
- 1
- 2
- 3
- 4
Arrange the layers from bottom to top to maintain a non-destructive workflow.
Isolating Generative Elements
Generative AI does not capture reality; it creates what are called 'hallucinated pixels'—statistical guesses of what an image should look like based on its training data. Because these pixels are invented, they can often distort the real objects they touch. To maintain professional standards, you must strictly isolate these generated elements on their own layers, separate from your photographed pixels. This allows you to verify that the AI hasn't accidentally altered the product you are selling.
For example, imagine adding a generated olive branch that partially overlaps the olive-oil bottle. If you merge this branch into the bottle layer, the AI might slightly warp the glass edge or smudge the label's text to make the branch 'fit' the scene. By keeping the olive branch on its own separate layer, you can simply toggle the visibility icon (the eye) off. With the branch hidden, you can zoom in to 100 percent and confirm that the bottle's edge remains perfectly sharp and the label is unchanged. You use this isolation to treat the AI as a decorative addition that can be discarded or adjusted without ever compromising the integrity of the original product shot.
Flip the cards to see how to handle AI elements in a professional stack.
Try it
Why must you keep generated elements like an olive branch on a separate layer from the photographed product?
Identifying Derived Layers
Not all layers in your stack are independent assets. Some are 'derived layers'—elements that only exist because a source object is present. Common examples include contact shadows, reflections, and highlights. While these layers are visually linked to the source, they are functionally different because they represent the interaction between the source and its environment, rather than the source itself.
Take the olive-oil bottle resting on the stone table. The bottle is your source. The reflection of that bottle appearing on the polished stone surface is a derived layer. In Photoshop, you should never paint this reflection directly onto the stone table layer or the bottle layer. Instead, you create a dedicated layer specifically for the reflection.
By isolating the reflection, you treat it as a dependent variable. If you decide to move the bottle two inches to the left, you don't have to repaint the entire stone table to remove the old reflection. You simply select the reflection layer and move it to match the new position of the source. This distinction ensures that the core product remains pure while its environmental effects remain flexible.
Try it
If you are adding a soft shadow where the bottle touches the stone, why should this be on its own layer rather than merged with the background?
Managing Stale Layers
A source layer update creates a ripple effect through your file. When you replace a primary asset, any derived layers—like shadows, reflections, or highlights—become 'stale.' A stale layer is an element that was built based on the geometry, lighting, or position of an old version of the source. If you leave these layers in place, you create 'visual drift,' where the reflection no longer aligns with the object, or the shadow falls in a direction that contradicts the new source photograph.
Imagine the client sends a new photograph of the olive-oil bottle because the label color was slightly off. You replace the locked source layer at the bottom of your stack. Immediately, the existing reflection and contact shadow layers become stale; they are reflecting a bottle that no longer exists in the file.
To manage this, you must explicitly mark these layers as stale—either by renaming them 'STALE_Reflection' or by coloring the layer folder red. The only professional way to resolve a stale layer is to delete it and rebuild it from scratch based on the new source. This prevents a polished preview from hiding a fundamental error that would be obvious at 200 percent zoom.
The sequence for handling a source update to avoid visual drift.
Try it
What is the correct way to handle a derived layer after the source image has been replaced?
The Non-Destructive Stack
A professional production file is not just a picture; it is a vertical record of creative decisions. When you build a non-destructive stack, you are creating a roadmap that any other designer or producer can read to understand exactly how an image was constructed. This transparency is what eliminates the need for filenames like v7_final_FINAL2, because the current state of the work is documented within the file itself.
Consider the final structure of our olive-oil bottle project. At the bottom, you have the Locked Source (the original studio photo). Above that sits the Generative Background (the stone table). Next are the Lighting Adjustments (the warm afternoon glow), and finally, a Stale Reflection layer that you have flagged for deletion because the bottle was recently replaced.
When you review this stack, you aren't looking at a flattened image; you are auditing a process. You can toggle off the lighting to check the AI's physics, or delete the stale reflection without affecting the background. Your goal is to ensure that every element is reachable and every decision is reversible, transforming your PSD from a simple export into a traceable production asset.
See how many 'stale' elements must be rebuilt when a source asset is updated.
Try it
If you are auditing a PSD and find a 'Stale Reflection' layer above a 'Locked Source' layer, what is the required professional action?
In short
You can now build a professional, non-destructive Photoshop stack by locking the original source asset at the bottom of the Layers panel to prevent version drift. You know how to isolate every manual and generative edit onto separate layers, ensuring a traceable history where decisions can be reverted without destroying other work. You can also identify and manage 'stale' derived layers, such as reflections and shadows, to ensure they always align with the current source asset.
Carry on with the whole course
5 more lessons, a tutor you can ask anything in every one, quizzes, flashcards and a certificate. $47.
Not ready yet? Have this lesson emailed to you.