Documentation
Chapter 08

Retouching and Transforming

This chapter covers the Edit menu (without the AI commands) and the commands in the Image menu that change the size and orientation of an image: undoing steps, filling, removing distracting objects, scaling, rotating and warping layers, and adjusting image size and canvas size.

The open Edit menu
The Edit menu. The AI tools and generative AI are described in the chapters AI on Your Computer and Generative AI.

Undo and History

Undo and Redo

  • Edit › Undo (⌘ Z) takes back the last step. Pressing it repeatedly goes back further, step by step.
  • Edit › Redo (⇧ ⌘ Z) restores a step you undid.

By default, each document remembers 60 steps. You set the number under Edit › Preferences… in the Performance section at History States (2 to 1000). More steps need more memory.

The History panel

The History panel (Window › History) lists all steps of the current document, from opening it to the last command.

  • Click a step to jump back to that state. The later steps appear faded and can be restored with a click – until you do something new: then they are discarded.
  • New Snapshot saves the current state. Snapshots sit at the top of the list and are kept even when older steps drop out of the history. A click restores the snapshot; a right-click offers Delete Snapshot.
  • The box to the left of a step or snapshot sets the source for the History Brush. With the History Brush (Y) you then paint this earlier state back into parts of the image (see Tools).
The History panel with the steps Open, Auto Tone and Unsharp Mask
The History panel at the bottom right: three steps, with the New Snapshot button above them.

Create a snapshot before a bigger experiment. Then you can get back to your starting point with a single click at any time.

Fade

Edit › Fade… (⇧ ⌘ F) blends the result of the last filter, the last adjustment or the last paint stroke with the state before it.

  • Opacity: 100 % is the full effect, 0 % the state before the step.
  • Mode: combines the result using a blend mode, for example Luminosity, so that sharpening doesn't create color fringes.

Fade only works directly after such a step on a layer. Otherwise, the status bar tells you that Fade isn't possible right now.

Fade dialog after the Invert command, with Opacity and Mode
Fade after Invert: the dialog names the step it weakens.

Cut, Copy and Paste

CommandShortcutEffect
Cut⌘ XCopies the selection of the active layer to the clipboard and removes it from the layer.
Copy⌘ CCopies the selection of the active layer. Without a selection, the whole layer is copied.
Copy Merged⇧ ⌘ CCopies what you see: all visible layers combined.
Paste⌘ VPastes the clipboard contents as a new layer – at the original position if it fits, otherwise in the center. If no document is open, a new one is created.
Clear⌫Removes the contents of the selection; the pixels become transparent. On a layer mask, the area turns black (hidden).

The clipboard is the operating system's clipboard: you can exchange images between Chromatelier and other programs. Within Chromatelier, 16-bit data and the color profile are kept.

For a copy on its own layer in the same document, use Layer › New › Layer via Copy (⌘ J) – see Layers.

Fill and Stroke

Fill

Edit › Fill… (⇧ F5) fills the selection – or, without a selection, the whole layer.

FieldMeaning
ContentsForeground Color, Background Color, Color… (pick your own color), Pattern, Content-Aware, Black, 50% Gray or White.
PatternOnly with Contents “Pattern”: one of the available patterns or one you defined yourself.
Mode, OpacityBlend mode and strength of the fill.
Preserve TransparencyFills only pixels that already contain something; transparent areas stay empty.

With Contents Content-Aware, Chromatelier fills the selection from its surroundings – like Content-Aware Fill without further options.

Fill dialog with Contents, Mode, Opacity and Preserve Transparency
The Fill dialog.

Stroke

Edit › Stroke… draws a line along the edge of the selection. You need a selection for this.

  • Width: thickness of the line in pixels.
  • Color: click the color swatch to choose it.
  • Location: Inside, Center or Outside – whether the line lies inside, on or outside the selection edge.
  • Mode, Opacity, Preserve Transparency: as with Fill.
Stroke dialog with Width, Color, Location, Mode and Opacity
The Stroke dialog with a rectangular selection in the image.

Quick Fill

Edit › Quick Fill › Fill with Foreground and … › Fill with Background fill the selection (or the whole layer) at full opacity without a dialog. On a layer mask, the gray value of the color is used.

Content-aware fill and scale

Content-Aware Fill

Content-Aware Fill replaces a selection with matching parts of the image from its surroundings. Use it to remove distracting objects such as people, signs or blemishes. There are two commands:

  • Edit › Content-Aware › Content-Aware Fill (⇧ ⌫) fills immediately with the default settings.
  • Edit › Content-Aware › Content-Aware Fill… opens a dialog with options and a preview.
SettingMeaning
Sampling AreaWhere the fill takes its image parts from. Auto searches the surroundings of the selection, Rectangular takes a rectangle around the selection. If you have stored selections with Select › Save Selection, they appear here too – that way you set the sampling area yourself.
Show Sampling AreaTints the sampling area green in the image.
Color AdaptationNone, Default, High or Very High: how strongly the brightness and color of the inserted parts are matched to the surroundings. Higher levels help with gradients, for example in the sky.
Output ToCurrent Layer, New Layer (only the fill, on its own layer) or Duplicate Layer (a filled copy).
PreviewCalculates the result and shows it in the dialog.
New ResultAnother attempt with a different random start – helpful if the first result shows repetitions.
Content-Aware Fill dialog, the sampling area is marked in green
The Content-Aware Fill dialog. Green: the sampling area.

Remove a distracting object with Content-Aware Fill

  1. Select the object generously, for example with the Lasso (L) or the Rectangular Marquee (M). Leave a narrow margin around the object; shadows belong in the selection too.
    Detail with a person, a rectangular selection drawn around them
    The person on the right is selected.
  2. Choose Edit › Content-Aware › Content-Aware Fill….
  3. Leave Sampling Area at Auto and choose New Layer for Output To. That way the original stays unchanged.
  4. Click Preview. If you don't like the result, click New Result or change the Color Adaptation.
  5. Click OK and deselect with ⌘ D.
    The same detail, the person has been replaced by pavement and facade
    The person is gone. Small irregularities on the facade can be touched up.
  6. Touch up any remaining irregularities with the Spot Healing Brush (J) or the Clone Stamp (S). To do this, first select the image layer again, or combine the layers with Layer › Merge Down.

For objects in front of a busy background, Edit › AI Tools › Remove Selected (AI) often gives a better result (see AI on Your Computer).

Content-Aware Scale

Edit › Content-Aware › Content-Aware Scale… (⌥ ⇧ ⌘ C) changes the width or height of a pixel layer without distorting important subjects. To do this, “seams” with little detail are removed or doubled, for example in the sky or on a meadow.

  • Width and Height: 10 to 200 % of the original size. The preview at the top shows the result.
  • Protect: None, Skin Tones (people stay undistorted) or a saved selection whose area keeps its shape.
Content-Aware Scale dialog with preview, Width 75 percent and Protect
Content-Aware Scale to 75 % width: the cathedral and the person stay undistorted.

Transforming

Free Transform

Edit › Free Transform (⌘ T) places a frame with handles around the contents of the active layer (or around the selection on it). At the same time, the Free Transform window opens.

  • Dragging a corner scales proportionally; with ⇧, freely.
  • Dragging outside the frame rotates around the reference point in the center.
  • ⌘ + dragging a corner distorts, ⌘ + dragging an edge skews, ⌘ ⌥ ⇧ + dragging a corner changes the perspective.
  • In the window you set exact values: position X/Y in pixels, width W and height H in percent, Angle in degrees.
  • The buttons ↻ 90°, ↺ 90° and 180° rotate; Flip Horizontal and Flip Vertical flip.
  • At the top you switch the type: Free, Skew, Distort, Perspective or Warp. The Edit › Transform submenu starts directly in the respective type.
  • Bilinear interpolation smooths the result. Turn it off for pixel graphics that should keep hard edges.
  • Apply (Enter) commits the transformation, Cancel discards it.
Free Transform: frame with handles around a wavy line, next to it the window with X, Y, W, H and Angle
Free Transform on the “Paint” layer: frame with eight handles and a reference point.

Free-transform a layer

  1. In the Layers panel, select the layer you want to change. Type, shape and smart object layers can also be scaled and rotated; you can only distort and warp type after rasterizing it.
  2. Press ⌘ T. The transform frame appears around the contents.
  3. Drag a corner to make the layer bigger or smaller. The aspect ratio is kept.
  4. Move the mouse slightly outside a corner and drag to rotate the layer. For exact values, type an Angle into the window.
  5. Drag inside the frame to move the layer.
  6. Press Enter or click Apply.

Convert a layer to a smart object before transforming it. Then you can shrink it and enlarge it again as often as you like without it getting blurry.

The Transform submenu

The Edit › Transform submenu
Edit › Transform.
CommandEffect
SkewThe edges are shifted in parallel – the rectangle becomes a parallelogram.
DistortEach corner can be dragged freely.
PerspectiveDrags two opposite corners symmetrically – ideal for correcting converging lines.
WarpBends the layer with a grid (see below).
Puppet WarpBends a layer at pins you place (see below).
Perspective WarpChanges the perspective of an image using planes (see below).
Flip Layer Horizontal / Flip Layer VerticalFlips only the active layer, without a dialog.
Auto-Align Layers…Aligns several selected pixel layers to each other (see below).
Auto-Blend Layers…Blends aligned layers into each other with masks (see below).

Warp

When warping, a grid of 3 × 3 cells lies over the layer. Drag the grid points, the handles or the image itself to bend it. Under Warp, instead of Custom you can also choose a ready-made shape: Arc, Arc Lower, Arc Upper, Arch, Bulge, Shell Lower, Shell Upper, Flag, Wave, Fish, Rise, Fisheye, Inflate, Squeeze or Twist. Bend % (−100 … 100) then sets the strength.

Warp grid over the Paint layer, next to it the window with Custom selected
Warping with the grid. You warp type with Type › Warp Text… (see Type, Shapes and Paths).

Puppet Warp

Edit › Transform › Puppet Warp places a triangle mesh over the contents of a pixel layer. You place pins like thumbtacks: pins you don't move hold the image in place, while pins you drag bend it naturally – an arm, a branch or a strand of hair, for example.

SettingMeaning
DensityFewer Points, Normal or More Points: a finer mesh for more precise but slower warping.
ExpansionHow far the mesh extends beyond the edge of the contents (0 … 50 px).
Show MeshShows or hides the mesh.
Bilinear interpolationSmooths the result.
Remove All PinsResets everything.

Use Puppet Warp

  1. Select a pixel layer. A cut-out object on its own layer works best; smart objects work too.
  2. Choose Edit › Transform › Puppet Warp. The mesh appears over the contents.
    Puppet Warp: triangle mesh over a portrait, on the right the Puppet Warp window
    The Puppet Warp mesh over the layer.
  3. Click the spots that should not move – here the shoulders and the neck. Each click places a pin.
  4. Place a pin at the spot you want to move and drag it. The image bends while the other pins hold it in place.
    Puppet Warp with four yellow pins, the top pin on the head dragged to the right
    Three pins hold the image in place; the top pin tilts the head slightly.
  5. A pin in the wrong place? ⌥-click it to remove it.
  6. Click OK.

Perspective Warp

With Edit › Transform › Perspective Warp you change the perspective of a photo after the fact, for example to show a building more head-on. The options bar shows two phases:

  1. Layout: drag the corners of the rectangle onto a plane in the image, for example onto the facade. With Add Plane you create more planes, for example for a second wall of the building.
  2. Warp: now drag the corners to the position you want; the image follows. Straighten Vertical and Straighten Horizontal straighten the edges of the planes automatically.

Apply (Enter) commits the result, Cancel (Esc) discards it.

Perspective Warp: blue rectangle on the cathedral, at the top the options bar with Layout and Warp
Perspective Warp in the Layout phase.

Auto-align and auto-blend layers

Both commands need at least two selected pixel layers, for example several shots of the same scene.

  • Auto-Align Layers…: the bottom selected layer stays put, and the others are aligned to it. Under Projection you choose Auto (move and turn) or Reposition (move only).
  • Auto-Blend Layers…: creates layer masks that join the layers seamlessly. Blend Method Panorama joins shots that lie side by side, Stack Images takes the sharpest areas from each layer (focus stacking). Seamless Tones and Colors matches brightness and color to the bottom layer.

For complete panoramas from files, there is File › Automate › Photomerge… (see Color, RAW and HDR).

Presets

In the Edit › Presets submenu you manage brushes, gradients, styles and patterns.

CommandEffect
Define Pattern…Turns the selected area (of all visible layers, at most 512 × 512 pixels) into a new pattern. It is then available when filling, in pattern fill layers and with the Pattern Stamp.
Define Brush PresetTurns the selection (or the whole image) into a brush tip: anything darker than white paints.
Preset Manager…Shows all presets sorted by type (Brushes, Gradients, Styles, Patterns). You delete your own presets here; built-in ones are marked as “built in”.
Load Presets…Imports brushes (.abr), gradients (.grd), styles (.asl), patterns (.pat) or a preset set (.fpp).
Save Preset Set…Saves all your own presets in one file (.fpp) – as a backup or for another computer.
The Preset Manager with the tabs Brushes, Gradients, Styles and Patterns and the brush list
The Preset Manager. The Load… and Save Set… buttons correspond to the menu commands.

Image size, canvas size and rotation

Duplicate

Image › Duplicate… opens a copy of the whole document as a new image. Under As you give it a name. With Duplicate Merged Layers Only you get a copy flattened to a single layer.

Image Size

Image › Image Size… (⌥ ⌘ I) changes the pixel dimensions of the whole image with all its layers.

  • The current size is shown at the top. Enter Width and Height in pixels. With Constrain proportions, the other value changes to match.
  • The buttons 25%, 50%, 75%, 150% and 200% quickly set a size relative to the original.
  • Resample determines how new pixels are calculated: Nearest Neighbor (hard edges, for pixel graphics), Bilinear, Bicubic (the default, a good all-rounder) or Lanczos (especially sharp, good for downsizing).
Image Size dialog with Width, Height, Constrain proportions, Resample and percentage buttons
The Image Size dialog.

For large enlargements, use Image › Super Resolution…: a local AI model invents plausible details. See AI on Your Computer.

Resize an image for the web

  1. First save the original or work on a copy (Image › Duplicate…). Downsizing can't be undone without loss once the file is closed.
  2. Choose Image › Image Size… (⌥ ⌘ I).
  3. Make sure Constrain proportions is turned on.
  4. Type the size you want into Width, for example 1600 px for an image on a web page. The height adjusts.
  5. Choose Bicubic or Lanczos for Resample and click OK.
  6. Sharpen the downsized image slightly, for example with Filter › Sharpen › Unsharp Mask… (Amount 50–80 %, Radius 0.5 px) – see Filters.
  7. Save the result with File › Export › Export As… as JPEG or WebP (see Saving, Export and Printing).

Canvas Size

Image › Canvas Size… (⌥ ⌘ C) changes the size of the canvas without scaling the contents. Larger values add a border, smaller ones crop.

  • Width and Height in pixels.
  • Anchor: the nine cells determine where the existing image sits. Center means: an even border on all sides; top left means: a border only on the right and at the bottom.
  • New area on the bottom layer is filled with the background color.
Canvas Size dialog with Width, Height and nine anchor cells
The Canvas Size dialog with the anchor in the center.

Image Rotation

The Image › Image Rotation submenu rotates or flips the whole document with all its layers: 180°, 90° Clockwise, 90° Counter Clockwise, Flip Canvas Horizontal and Flip Canvas Vertical. To rotate just one layer, use Free Transform instead. You straighten a crooked photo with the Crop tool or the Ruler tool (see Tools).

Crop, trim, flatten

CommandEffect
Image › Crop to SelectionCrops the image to the bounding rectangle of the selection.
Image › Trim TransparentRemoves transparent borders around the visible contents.
Image › Flatten ImageMerges all layers into a single background layer. Hidden layers are discarded, and transparent areas become white.

How the retouching tools work together

For smaller retouching jobs you work with tools instead of menu commands. They are described in detail in the Tools chapter.

TaskToolKey
Small spots, blemishes, dustSpot Healing BrushJ
Paint objects away (with AI)Remove (AI)⇧ J
Transfer textures from a source and blend them inHealing Brush (⌥-click = source)⇧ J
Replace a selection with another areaPatch⌥ J
Move an object and have the gap fill inContent-Aware Move⇧ J
Copy parts of the image exactlyClone Stamp (⌥-click = source)S
Red eyesRed Eye⇧ J
Paint an earlier state back inHistory BrushY
Lighten, darken, saturationDodge, Burn, SpongeO, ⇧ O, ⌥ O

A proven workflow: first remove large objects with Content-Aware Fill, then smooth out leftovers with the Spot Healing Brush, and continue edges or lines cleanly with the Clone Stamp. Work on a copy of the image layer (⌘ J) while you do this – that way the original stays untouched.

What's next?