Edit: layers and retouching¶
The Edit module is a layered photo editor inside Chhaya. Use it for work that Develop can't do: removing a stranger from a wedding photo, adding a greeting on a Diwali photo, joining photos, or making a photo wider for a banner.
Click Edit at the top of the window, or press Ctrl+E on a photo in the Library or Develop. Edit has its own menu bar (File, Edit, Image, Layer, Select, Filter, View), the tool options under it, the tools on the left, and the Properties, Layers and History panels on the right.

Opening a photo in Edit¶
Editing a copy of a photo¶
- Select the photo in the Library, Develop or the filmstrip.
- Press Ctrl+E, or in Edit choose File ▸ Edit a Copy of the Current Photo.
Chhaya makes a new photo next to the original, named with -Edit at the end, for example haldi-0412-Edit.png. The new photo is stacked with the original in the Library. The original is not changed.
The copy starts with one layer, Background, which shows the photo with its Develop settings. Press Ctrl+E on the -Edit photo later to open its layers again. Pressing it on the original makes another copy.
When you click a photo in the filmstrip while in Edit, its layers open if it has an Edit document. If it hasn't, Chhaya asks you to press Ctrl+E.
A new, empty document¶
Choose File ▸ New… (Ctrl+N). Type a Name, choose a Preset or type the Width and Height in pixels, and choose the Background: White, Black, Background colour or Transparent.
| Preset | Size |
|---|---|
| A4 at 300 ppi | 2480 × 3508 px |
| 4 × 6 in at 300 ppi | 1200 × 1800 px |
| Square post | 1080 × 1080 px |
| Story | 1080 × 1920 px |
| Full HD | 1920 × 1080 px |
| Flex banner 3 × 2 ft at 100 ppi | 3600 × 2400 px |
The new document is added to the catalog as a photo.
Adding pictures to a document¶
- File ▸ Place File… adds a picture from your computer as a new layer.
- File ▸ Place Selected Photos adds the photos selected in the filmstrip, with their Develop settings, each as a new layer.
The picture is made to fit inside the document, and Free Transform starts so you can size and place it. Press Enter when it is right.
Saving your work¶
Edit documents are kept in the catalog, with the photo they belong to.
- File ▸ Save (Ctrl+S) saves the layers. The photo's picture in the Library, Develop and Export is updated with the flattened result.
- Chhaya also saves when you go to another module or open another photo.
- If you try to close the browser tab with unsaved changes, the browser asks first.
To export the result, see Exporting. File ▸ Export… (with options) saves the document and opens the Export box. File ▸ Export As PNG and Export As JPEG download the flattened picture straight away. JPEG has no transparency, so transparent areas become white.
Note
In Edit, the menu shows Shift+Ctrl+E for Export…, but that key does Merge Visible while a document is open. Use the File menu to export from Edit.
The canvas¶
| To | Do this |
|---|---|
| Zoom in or out | Ctrl+scroll, Ctrl++ and Ctrl+-, or the Zoom tool (Z). Alt-click with the Zoom tool zooms out. |
| Fit the picture in the window | Ctrl+0, or View ▸ Fit on Screen |
| See pixels at full size | Ctrl+1, or View ▸ 100% |
| Move around | Scroll, hold Space and drag, or use the Hand tool (H) |
| Show rulers | Ctrl+R, or View ▸ Rulers |
| Add a guide | Drag from a ruler, or View ▸ New Guide… |
| Show or hide guides | Ctrl+;. View ▸ Clear Guides removes them all. |
| Snap moved layers to guides, the edges and the centre | Shift+Ctrl+;, or tick Snap for the Move tool |
The size of the document, the zoom and the pointer's position are shown at the right of the menu bar.
Layers¶
The Layers panel lists the layers with the top one first. Click a layer to work on it. The buttons under the list are, from left: fx (layer style), ◐ Mask, the Adjustment… list, New group, + (new layer) and Delete layer.
| Task | How |
|---|---|
| New layer | +, or Layer ▸ New Layer (Shift+Ctrl+N) |
| Copy a layer | Layer ▸ Duplicate Layer. With the Move tool, Alt-drag also duplicates. |
| Copy or cut the selected part to a new layer | Layer ▸ Layer via Copy (Ctrl+J) or Layer via Cut (Shift+Ctrl+J) |
| Delete a layer | The bin button, or Layer ▸ Delete Layer |
| Rename | Double-click the name |
| Show or hide | Click the eye. Alt-click shows only that layer. |
| Change the order | Drag the layer in the list, or Layer ▸ Bring Forward (Ctrl+]) and Send Backward (Ctrl+[) |
| Stop changes to a layer | Tick Lock |
| Merge | Layer ▸ Merge Down (Ctrl+E), Merge Visible (Shift+Ctrl+E) or Flatten Image |
| Turn text or a shape into pixels | Layer ▸ Rasterize |
Opacity, fill and blend modes¶
Above the list are the selected layer's blend mode, Opacity and Fill, from 0 to 100. Opacity fades the whole layer. Fill fades the layer's own pixels but not its layer style, so a drop shadow stays when the text fades.
The blend modes are Normal, Darken, Multiply, Color Burn, Lighten, Screen, Color Dodge, Overlay, Soft Light, Hard Light, Difference, Exclusion, Hue, Saturation, Color and Luminosity.
Groups¶
- Layer ▸ Group Layers (Ctrl+G) puts the selected layer in a new group. New Group makes an empty group.
- Drag layers onto an open group to put them in it.
- Click the folder icon to fold or open a group.
- Layer ▸ Ungroup Layers (Shift+Ctrl+G) takes the layers out and removes the group.
A group's blend mode, opacity and mask apply to everything in it. A group's blend mode can also be Pass Through, the starting mode: the layers inside blend with the layers below as if they weren't grouped. With any other mode, the group is blended as one picture.
Layer masks¶
A mask hides parts of a layer without deleting them. White on the mask shows the layer, black hides it.
- Select the layer. If you want the mask to follow a selection, make the selection first.
- Click ◐ Mask, or choose Layer ▸ Layer Mask ▸ Reveal All / Reveal Selection. Alt-click ◐ Mask, or choose Hide All / Hide Selection, for the opposite.
- Paint on the mask with the Brush: black to hide, white to show, grey for partly.
Click the mask's picture in the Layers panel to paint on the mask, and the layer's own picture to paint on its pixels. Ctrl-click the mask to load it as a selection, and Shift-click it to turn it off for a while.
Layer ▸ Layer Mask also has Invert Mask, Disable / Enable Mask, Apply Mask (hides those pixels for good and removes the mask), Delete Mask and Load Mask as Selection. The same buttons are in Properties while you paint on a mask.
Clipping masks¶
Layer ▸ Create / Release Clipping Mask (Alt+Ctrl+G) shows a layer only where the layer below it has pixels. For example, place a photo above a text layer and clip it, and the photo shows through the letters.
Adjustment and fill layers¶
An adjustment layer changes the colour or tone of every layer below it, and you can change its settings at any time in Properties. Add one from the Adjustment… list under the Layers panel, Layer ▸ New Adjustment Layer, or Image ▸ Adjustments.
| Adjustment | Settings |
|---|---|
| Brightness/Contrast | Brightness, Contrast |
| Levels | Input Black, Gamma, Input White, Output Black, Output White |
| Curves | A curve for RGB, Red, Green or Blue. Click to add a point, drag a point off the box to remove it. Reset Channel starts again. |
| Exposure | Exposure, Offset, Gamma |
| Vibrance | Vibrance, Saturation |
| Hue/Saturation | Hue, Saturation, Lightness, and Colorize with its own hue and saturation |
| Color Balance | Cyan – Red, Magenta – Green and Yellow – Blue for Shadows, Midtones or Highlights, and Preserve Luminosity |
| Black & White | Reds, Yellows, Greens, Cyans, Blues, Magentas, and a Tint |
| Photo Filter | Color, Density, Preserve Luminosity |
| Gradient Map | From and To colours |
| Invert | No settings |
| Posterize | Levels |
| Threshold | Threshold Level |
| Selective Color | Cyan, Magenta, Yellow and Black for Reds, Greens, Blues, Neutrals or Blacks |
Every adjustment layer has a mask. Paint on it with black to keep the adjustment off part of the photo, for example to brighten the bride's face and not the background.
Layer ▸ New Fill Layer adds a Solid Color or Gradient layer. Set the gradient's colours, Style (Linear or Radial), Angle, Scale and Reverse in Properties.
Image ▸ Adjustments ▸ Shadows/Highlights… is different: it changes the layer's pixels directly. Set Shadows Amount, Highlights Amount and Radius.
Layer styles¶
Layer ▸ Layer Style ▸ Blending Options (Shadow, Stroke, Glow)…, or the fx button, adds a Drop Shadow, a Stroke or an Outer Glow to a pixel, text or shape layer. Tick each one and set its colour, opacity and size. Clear Layer Style removes them.
Smart photo layers¶
The Background layer of an Edit copy, and photos added with Place Selected Photos, stay linked to their photo in the catalog. They show ◆ in the Layers panel.
- Layer ▸ Smart Photo ▸ Edit Source in Develop opens the original photo in Develop. Change it there, then come back to Edit (Ctrl+Alt+3). The layer is redrawn with the new settings.
- Update from Develop redraws the layer now.
Note
When a smart photo layer is redrawn, anything you painted on that layer itself is replaced. Do retouching on a new layer above it, or on a copy made with Layer via Copy. If it happens, Ctrl+Z brings your work back.
Selections¶
A selection limits painting, filters, fills and adjustments to part of the layer. A selected area has a moving dotted outline.
Selection tools¶
| Tool | Key | How to use it |
|---|---|---|
| Marquee | M | Drag a Rectangle or Ellipse. Shift+M switches between them. |
| Lasso | L | Drag around an area. Tick Polygonal to click corner by corner. Click the first point, double-click, or press Enter to close it. |
| Magic Wand | W | Click a colour to select pixels like it. Set Tolerance, Contiguous (only touching pixels) and Sample All Layers. |
| Quick Selection | W | Choose it in the tool options, then paint over the area. The selection grows to the edges it finds. |
Each tool has a New Selection, Add, Subtract and Intersect choice. You can also hold Shift to add, Alt to subtract, or Shift+Alt to intersect. The Marquee and Lasso have a Feather setting, which softens the edge.
Select menu¶
| Command | What it does |
|---|---|
| All (Ctrl+A), Deselect (Ctrl+D), Reselect (Shift+Ctrl+D) | Select everything, nothing, or the last selection again |
| Inverse (Shift+Ctrl+I) | Select everything that wasn't selected |
| Subject, Sky, Background, People | Find that part of the photo and select it |
| Color Range… | Select a colour: the foreground colour, a colour family (Reds to Magentas), Highlights, Midtones, Shadows or Skin Tones. Set Fuzziness and Invert. The selection updates as you change these. |
| Modify ▸ Border, Smooth, Expand, Contract, Feather (Shift+F6) | Change the selection's edge by a number of pixels |
| Edit in Quick Mask Mode (Q) | Shows what isn't selected in red. Paint with white to add to the selection and black to remove, then press Q again. |
| Selection to Layer Mask | Makes a mask from the selection |
The Magic Wand's tool options also have Select Subject and Select Sky buttons.
Note
Subject, Sky, Background and People use models that Chhaya downloads the first time you use them, so you need an internet connection that time. The photo itself is not sent anywhere. If there is no sky or no person in the photo, Chhaya says so.
Tools¶
Press a tool's key to choose it. Where one button holds several tools, choose between them in the tool options at the top.
| Tool | Key | What it does |
|---|---|---|
| Move | V | Drag to move the layer. Arrow keys nudge it 1 pixel, Shift+arrow 10 pixels. |
| Crop | C | Drag over the part to keep (Shift for a square), then press Enter or click ✓ Crop. Esc cancels. The cropped pixels are deleted. |
| Eyedropper | I | Click to pick the foreground colour. Alt-click picks the background colour. |
| Spot Healing, Healing, Patch, Remove, Red Eye | J | Retouching, see below |
| Brush | B | Paint with the foreground colour |
| Clone Stamp | S | Alt-click where to copy from, then paint to copy it. Aligned keeps the same distance for each stroke. |
| Eraser | E | Erase to transparent |
| Gradient, Paint Bucket | G | Drag to draw a Linear or Radial gradient, Foreground to Background or Foreground to Transparent. The Paint Bucket fills the colour you click, with Tolerance, Contiguous and All Layers. |
| Blur, Sharpen, Smudge | R | Paint to blur, sharpen or smudge, with a Strength |
| Dodge, Burn, Sponge | O | Dodge lightens and Burn darkens the Shadows, Midtones or Highlights. Sponge adds or removes saturation. |
| Liquify (Forward Warp) | Shift+Ctrl+X | Drag to push pixels, with Size and Pressure |
| Type Tool | T | Click to add text, see below |
| Shapes | U | Drag a Rectangle, Rounded Rectangle, Ellipse or Line, with a fill and a stroke |
| Hand | H | Drag to move around |
| Zoom | Z | Click to zoom in, Alt-click to zoom out |
The Brush, Eraser and Clone Stamp have Size, Hardness, Opacity, Flow and Smoothing. Press [ and ] to make the brush smaller or larger, and a number key to set the opacity (1 for 10%, 0 for 100%).
Under Colors, the two swatches are the foreground and background colours. Press X to swap them and D for black and white.
Painting on an adjustment layer or a fill layer paints its mask. Painting on a text or shape layer turns it into pixels first.
Retouching¶
Choose the tool with J, then the mode in the tool options:
| Mode | How to use it |
|---|---|
| Spot Healing Brush | Paint over a pimple, a speck of dust or a wire. When you let go, Chhaya fills it from the surroundings. |
| Remove Tool | Paint over something larger to remove it, such as a bottle on the mandap stage. It works like Spot Healing. |
| Healing Brush | Alt-click good skin or texture, then paint over the flaw. The texture is copied and blended into the colour around it. |
| Patch Tool | Draw around the flaw, then drag it to an area of good texture. |
| Red Eye Tool | Click an eye, or drag a box around it. |
Retouch on the layer's pixels, not on its mask. For safer retouching, work on a copy of the layer (Layer via Copy or Duplicate Layer).
Text¶
- Choose the Type Tool (T) and click where the text should start.
- Type in the box at the top of Properties.
- Set the Font, Size, Color, Bold, Italic, Align (Left, Center or Right) and Leading (space between lines).
The layer is named after the first line of the text. To change the text later, click the text layer with the Type Tool, or select it and edit it in Properties. Hindi and Marathi in Devanagari work in any font.
Fill and stroke¶
- Edit ▸ Fill… (Shift+F5) fills the selection, or the whole layer, with the Foreground Color, Background Color, Black, White, 50% Gray or From Surroundings, at an Opacity.
- Alt+Backspace fills with the foreground colour and Ctrl+Backspace with the background colour.
- Edit ▸ Clear (Delete) makes the selected pixels transparent.
- Edit ▸ Stroke… draws a line along the selection's edge, with a Width, Color and Location (Inside, Center or Outside).
Fill from Surroundings¶
Fill from Surroundings removes what is selected and fills the area with texture from around it. Use it to remove a person walking behind the couple, a light stand, or a logo on a wall.
- Select the layer with the photo's pixels.
- Select the object with the Lasso or another selection tool. Leave a little space around it.
- Choose Edit ▸ Fill from Surroundings. Or choose Edit ▸ Fill… and click OK: when there is a selection, Contents is set to From Surroundings.
Chhaya looks at the area around the selection and fills it. If the result isn't right, press Ctrl+Z, change the selection, and try again. Filling a large object in a few smaller parts often works better.
Smart Scale¶
Smart Scale changes the width or height of a layer by taking out, or adding, the parts of the picture that matter least, such as plain sky or wall. People and buildings keep their shape. Use it to fit a photo to a wider banner or a square post.
- Select a pixel layer.
- Choose Edit ▸ Smart Scale (Alt+Shift+Ctrl+C).
- Drag the handles to the new size. The corners keep the proportions. Hold Shift to drag them freely.
- Set the options at the top, then press Enter or click ✓ Commit. Esc cancels.
| Option | What it does |
|---|---|
| Amount | 100% scales by content. Lower values mix in plain scaling. |
| Protect | Selection keeps the selected area from being squeezed. Select the couple before you start, then choose Selection. |
| Protect skin tones | Keeps faces and skin from being squeezed |
To make a photo wider, first make the canvas wider with Image ▸ Canvas Size…, then use Smart Scale to stretch the layer to fill it.
Smart Scale only changes the size. Commit it before you rotate the layer.
Free Transform¶
Edit ▸ Free Transform (Ctrl+T) works on a pixel, text or shape layer.
- Drag a corner to scale (Shift: freely), or an edge to stretch.
- Drag outside the box to rotate.
- Ctrl-drag a corner to distort, Ctrl-drag an edge to skew, Ctrl+Alt+Shift-drag for perspective.
- Flip H, Flip V and ↻ 90° are in the tool options.
- Press Enter or double-click to commit, Esc to cancel.
Edit ▸ Flip Horizontal, Flip Vertical, Rotate 90° Clockwise and Rotate 90° Counter Clockwise do the same for the selected layer.
The whole image¶
| Command | What it does |
|---|---|
| Image ▸ Image Size… (Alt+Ctrl+I) | Resizes everything, by Scale (%) or Width and Height in pixels. Constrain proportions keeps the shape. |
| Image ▸ Canvas Size… (Alt+Ctrl+C) | Adds or cuts space round the edges, from an Anchor point. The layers are not resized. |
| Image ▸ Image Rotation | 180°, 90° Clockwise, 90° Counter Clockwise, Flip Canvas Horizontal, Flip Canvas Vertical |
| Image ▸ Crop to Selection | Crops to the edges of the selection |
Filters¶
Filters change the pixels of the selected layer, or of the selection on it. Filters with settings open a box with a Preview tick box.
| Menu | Filters |
|---|---|
| Filter ▸ Blur | Gaussian Blur, Motion Blur, Background Blur (AI) |
| Filter ▸ Sharpen | Unsharp Mask, High Pass |
| Filter ▸ Noise | Add Noise, Reduce Noise (Median) |
| Filter ▸ Pixelate | Mosaic |
| Filter ▸ Stylize | Emboss, Find Edges |
| Filter ▸ Other | Invert, Posterize, Threshold |
Background Blur (AI) finds the subject and blurs everything behind it, for a portrait look. Filter ▸ Last Filter (Ctrl+F) runs the last filter again with the same settings.
Undo and History¶
- Ctrl+Z undoes, and Shift+Ctrl+Z or Ctrl+Y redoes. Edit ▸ Undo and Redo do the same.
- The History panel lists the changes, starting with Open. Click a step to go back to it.
History keeps the last 60 changes. It lasts while the document is open and isn't saved with it.
PSD files¶
Opening a PSD¶
Choose File ▸ Open PSD… (Ctrl+O) and pick a .psd or .psb file. Chhaya adds it to the catalog and opens its layers. A .psd file imported into the Library also keeps its layers when you press Ctrl+E on it.
Chhaya reads:
- each layer's pixels, name, position, opacity, blend mode and whether it is shown
- groups, with their blend mode (including Pass Through), opacity and whether they are folded
- layer masks
Text, shape and adjustment layers from other programs come in as pixels.
Saving a PSD¶
Choose File ▸ Save as PSD…. Chhaya downloads a .psd file named after the document.
| Kept as it is | Saved as pixels | Not saved |
|---|---|---|
| Pixel layers with their names, positions, opacity, blend modes and visibility; groups with their blend modes, opacity and masks; layer masks | Text and shape layers; layer styles, merged into their layer; adjustment and fill layers, as a layer showing the result | Clipping masks, Fill opacity, locks, and masks that are turned off |
The Edit document in the catalog keeps everything, so keep working there and save a PSD when you need to send the file to someone.