Layers in GIMP: Building, Organizing, and Editing Non-Destructively

Capítulo 4

Estimated reading time: 7 minutes

+ Exercise

What Layers Are (and Why They Matter)

A layer is like a transparent sheet that holds part of your image. Instead of editing everything on one flat picture, you place elements (a background, a subject, text, color tweaks) on separate layers. This lets you change one part without permanently affecting the others—this is the foundation of non-destructive editing.

Think of a simple composite:

  • Layer 1: Background photo
  • Layer 2: Subject cutout
  • Layer 3: Shadow or color tint

If the subject is too big, you adjust only the subject layer. If the background is too bright, you adjust only the background layer. You keep options open.

Stacking Order: Who Covers Whom

Layers are stacked vertically in the Layers panel. The rule is simple: higher layers cover lower layers wherever they have pixels.

Practical example: swapping foreground and background

  1. Open two images (a subject and a background) so each is in its own layer in the same file.
  2. In the Layers panel, drag the subject layer above the background layer.
  3. Drag it below the background layer to see it disappear (because it is now covered).

Tip: If you can’t see a layer you expect to see, check (1) stacking order, (2) visibility, (3) opacity, and (4) whether the layer is positioned off-canvas.

Continue in our app.
  • Listen to the audio with the screen off.
  • Earn a certificate upon completion.
  • Over 5000 courses for you to explore!
Or continue reading below...
Download App

Download the app

Visibility, Opacity, and the Difference Between Them

Visibility (the eye icon)

Visibility is an on/off switch. Click the eye icon to hide or show a layer. Hidden layers are not visible and do not export into the final image.

Opacity (0–100%)

Opacity controls transparency. At 100%, the layer is fully solid. At 50%, you can see through it. At 0%, it becomes invisible (but still “on”).

Practical example: alignment using temporary transparency

  1. Select your subject layer.
  2. Set Opacity to around 40–60%.
  3. Position the subject so you can see the background through it and align edges (like feet on ground, horizon lines, etc.).
  4. Return opacity to 100% when done.

Blending Modes: How Layers Interact

A layer’s Mode (blending mode) changes how its pixels combine with layers below. You’ll find it near the opacity control in the Layers panel. Beginners often get great results using just a few modes.

ModeWhat it doesBeginner use case
NormalNo special mixing; top layer covers below based on opacityMost layers (subject, background)
MultiplyDarkens by multiplying values; white becomes transparent-ishAdd shadows, darken a texture overlay
ScreenBrightens; black becomes transparent-ishAdd light leaks, brighten highlights
OverlayBoosts contrast by combining Multiply/Screen behaviorAdd punch with subtle texture or contrast layer
Soft lightGentler contrast change than OverlaySubtle shading or color/contrast enhancement

Practical example: adding a shadow layer non-destructively

  1. Create a new transparent layer above the background and below the subject.
  2. Paint a soft black shadow shape (use a soft brush).
  3. Set the shadow layer mode to Multiply.
  4. Lower opacity until it looks natural.

Creating, Duplicating, and Renaming Layers

Create a new layer

  1. In the Layers panel, click New Layer (sheet icon) or use Layer > New Layer….
  2. Choose Transparency for most editing layers (shadows, paint, retouch).
  3. Name it immediately (example: Shadow, Color Tint).

Duplicate a layer (core non-destructive habit)

Before you try a risky edit, duplicate the layer so you can compare or revert.

  1. Select the layer.
  2. Click Duplicate (two-sheets icon) or use Layer > Duplicate Layer.
  3. Rename the duplicate to reflect the experiment, e.g., Subject - brightened test.

Rename layers for clarity

  1. Double-click the layer name (or right-click > Edit Layer Attributes).
  2. Use consistent naming: BG, Subject, Shadow, Color, Mask.

Good naming is not cosmetic—it prevents mistakes like painting on the wrong layer.

Grouping Layers: Organize Like a Pro

Layer groups keep complex projects manageable. Groups can be collapsed/expanded, and you can move multiple layers together.

Create and use a layer group

  1. Click Create a new layer group (folder icon) in the Layers panel.
  2. Name the group (example: Subject or Background).
  3. Drag related layers into the group (e.g., subject cutout, subject shadow, subject color tweaks).

Suggested structure for composites

  • Group: Background
    • BG photo
    • BG color/contrast experiments (duplicates)
  • Group: Subject
    • Subject cutout
    • Subject shadow
    • Subject adjustments (duplicates + masks)
  • Group: Global
    • Overall tint/contrast overlays (optional)

Locking: Prevent Accidental Edits

Locking helps you avoid common beginner errors like moving the background when you meant to move the subject.

Common lock types (depending on your GIMP version)

  • Lock pixels: prevents painting/erasing on that layer.
  • Lock position and size: prevents moving or transforming the layer.

Practical workflow tip

  1. Once your background is placed correctly, lock its position.
  2. When your subject cutout is finalized, lock pixels to avoid accidental brush marks.

Layer Boundaries vs Canvas Size (Important for Beginners)

The canvas is the total image area you export. Each layer has its own boundaries (its own rectangle). A layer can be smaller than the canvas or extend beyond it.

Why this matters

  • If you paint near the edge of a small layer, your brush may “stop” because you’re hitting the layer boundary.
  • If you move a layer, parts can go outside the canvas and won’t be visible in the final export.

Practical fixes

  • Make layer match the canvas: use Layer > Layer to Image Size when you need full-canvas painting on that layer.
  • Trim layer to its content: use Layer > Crop to Content to reduce empty space and keep the file tidy.

Rule of thumb: For paint-based adjustment layers (shadows, tints), matching the canvas is often helpful. For cutout subjects, cropping to content can keep things organized.

Non-Destructive Editing with Duplicates and Layer Masks

Non-destructive editing means you preserve the original pixels and build changes in a reversible way. Two beginner-friendly tools for this are layer duplicates and layer masks.

Approach A: Duplicate-first editing

Instead of editing your only subject layer, do this:

  1. Duplicate the subject layer.
  2. Hide the original (keep it as a backup).
  3. Edit the duplicate.

This gives you a safe “before” version inside the same file.

Approach B: Layer masks (hide/reveal without erasing)

A layer mask controls which parts of a layer are visible. You paint on the mask instead of deleting pixels.

  • White on mask = visible
  • Black on mask = hidden
  • Gray = partially visible

Step-by-step: add and use a layer mask

  1. Select the layer you want to control (often the subject layer).
  2. Right-click it and choose Add Layer Mask…
  3. Start with White (full opacity) if you want everything visible initially.
  4. Click the mask thumbnail (next to the layer thumbnail) to ensure you’re editing the mask.
  5. Paint with black to hide unwanted areas; paint with white to bring them back.

Tip: If you accidentally paint on the image instead of the mask, undo and click the mask thumbnail before continuing.

Non-destructive “adjustment-by-layer” idea (beginner-friendly)

GIMP doesn’t use the same dedicated adjustment layers as some other editors, but you can still work in an adjustment-by-layer style:

  1. Duplicate the layer you want to adjust (example: background).
  2. Apply your change to the duplicate (example: brighten, add contrast, change color).
  3. Add a layer mask to the adjusted duplicate.
  4. Paint on the mask so the adjustment affects only the areas you choose (example: brighten only the sky, not the ground).

This keeps the original layer intact and makes your edits editable later.

Practice Project: Subject + Background Composite with Organized Layer Groups

Goal

Combine a subject and a background on separate layers, use opacity to align the subject, and organize the file into labeled groups. You’ll also set up a non-destructive workflow using duplicates and masks.

Project setup (recommended layer plan)

  • Group: Background
    • BG - original (kept hidden as backup)
    • BG - working
  • Group: Subject
    • Subject - original (kept hidden as backup)
    • Subject - working
    • Subject - shadow

Step-by-step

  1. Place your images as layers
    • Ensure you have a background layer and a subject layer in the same file.
    • Rename them immediately: BG and Subject.
  2. Create layer groups and organize
    • Create two layer groups: Background and Subject.
    • Drag BGBackground, and Subject into Subject.
  3. Make non-destructive backups
    • Duplicate BG and rename: BG - original (hide it).
    • Rename the working one: BG - working.
    • Duplicate Subject and rename: Subject - original (hide it).
    • Rename the working one: Subject - working.
  4. Align the subject using opacity
    • Select Subject - working.
    • Lower opacity to ~50%.
    • Move/position the subject until it sits naturally on the background (use visible landmarks like ground contact points).
    • Return opacity to 100%.
  5. Check stacking order
    • Ensure Subject group is above Background group (or at least the subject layer is above the background layer).
  6. Add a soft shadow (separate layer)
    • Create a new transparent layer inside the Subject group named Subject - shadow.
    • Place it below Subject - working but above the background.
    • Paint a soft shadow shape where the subject meets the ground.
    • Set mode to Multiply and lower opacity until believable.
  7. Optional: localized adjustment using duplicate + mask
    • Duplicate BG - working and rename: BG - brighter area.
    • Apply a brightness/contrast change to this duplicate.
    • Add a black layer mask (so the adjustment is hidden everywhere).
    • Paint white on the mask only where you want the background brighter (for example, behind the subject to help separation).
  8. Final organization pass
    • Collapse groups and verify names are clear.
    • Lock position for BG - working once it’s set.
    • Hide/show - original layers to compare and confirm your edits are non-destructive.

Quick troubleshooting checklist

  • If a brush won’t paint where you expect: check whether you’re painting on a mask vs the layer, and whether the layer boundary is smaller than the canvas.
  • If the subject looks “washed out”: confirm opacity is back at 100% and mode is Normal.
  • If nothing seems to change: confirm the layer is visible (eye icon) and you’re editing the correct layer (highlighted).

Now answer the exercise about the content:

You want to brighten only the sky in a background without permanently changing the original pixels. Which workflow best supports this non-destructive goal?

You are right! Congratulations, now go to the next page

You missed! Try again.

Duplicating keeps the original intact, and a layer mask lets you hide/reveal the adjustment without deleting pixels, so only the sky is brightened.

Next chapter

Selections in GIMP: Making Clean Cutouts with the Right Tool

Arrow Right Icon
Free Ebook cover GIMP for Beginners: Free Image Editing from Zero to Confident
40%

GIMP for Beginners: Free Image Editing from Zero to Confident

New course

10 pages

Download the app to earn free Certification and listen to the courses in the background, even with the screen off.