Skip to content

Develop: crop, retouch and masks

The tools in Develop work on the photo itself: you drag a crop, click on a spot of dust, or paint where an adjustment should go. Their buttons are under the histogram on the right: Crop, Spot, Red Eye and Masks. Click a button to open the tool, and click it again, or click Done, to close it.

Like everything in Develop, these tools don't change the original file. The crop, spots and masks are settings, and you can change or remove them later.

For heavier retouching, with layers and selections, use the Edit module.

Crop & Straighten

Open the tool with Crop, or press R. While it is open, Chhaya shows the whole photo with the crop frame on it, and darkens the parts that will be cut off. Lines divide the frame in thirds, to help you place the subject.

  1. Drag a corner or an edge of the frame to change the crop.
  2. Drag inside the frame to move it.
  3. Drag outside the frame to turn the photo.
  4. Press Enter, or click Done, to finish.

The frame always stays inside the photo, so the cropped photo never has empty corners. When you turn the photo, the frame gets smaller if it has to.

Aspect

Choose the shape of the crop in Aspect:

Aspect Use it for
Original The shape of the photo as shot
1 × 1 Square posts
4 × 5 / 8 × 10 8 × 10 in prints, portrait posts
5 × 7 5 × 7 in prints
2 × 3 / 4 × 6 4 × 6 in prints, the shape of most camera photos
3 × 4 The shape of most phone photos
16 × 9 Screens and video thumbnails
Custom Any shape: the corners move freely

To turn the crop from landscape to portrait or back, click ⤾ next to the list, or press X.

Straightening

There are four ways to level a photo:

  • Angle: drag the slider, from −45.0 to +45.0 degrees, or type the angle.
  • Straighten Tool: click 📐 Straighten Tool, then drag along something in the photo that should be level, such as the horizon or the edge of a stage. Chhaya turns the photo so that line is level. If the line is closer to upright, such as a pillar or a door frame, Chhaya makes it upright instead.
  • Auto: Chhaya finds the straight lines in the photo and levels it. If it can't find enough lines, it says so and changes nothing.
  • Drag outside the crop frame to turn the photo by hand.

To level and correct the perspective of buildings in one go, use Upright in the Transform panel.

Resetting the crop

Click Reset in the Crop & Straighten options. The crop, the angle and the aspect go back to the whole photo, level, at its original shape.

Spot Removal

Spot Removal takes out small things you don't want: dust on the sensor, a pimple, a stray hair, a speck on a wall. It covers each spot with a patch from another part of the photo.

  1. Click Spot, or press Q.
  2. Choose Heal or Clone.
  3. Set Size to a little bigger than the spot. You can also turn the mouse wheel over the photo; the circle under the pointer shows the size.
  4. Click on the spot. Chhaya picks a nearby patch that matches the surroundings, and covers the spot with it.
  5. If the patch isn't right, drag its dashed circle to a better place. Drag the solid circle to move the whole spot.
Option What it does
Heal Copies the detail of the patch and matches it to the colour and brightness around the spot. Best on skin, sky and walls.
Clone Copies the patch exactly. Use it near edges and patterns, where Heal smears.
Size The size of the circle, as a part of the photo's long edge: 0.020 (the default) is 2%. From 0.002 to 0.200.
Feather How soft the edge of the circle is, from 0.00 (hard) to 1.00 (soft). Default 0.50.
Opacity How much the patch covers, from 0.00 to 1.00. Lower it to soften a mark rather than remove it. Default 1.00.

To change a spot you already made, click its circle to select it, then change Heal or Clone, Size, Feather or Opacity. The settings change for that spot only. The mouse wheel only sets the size of the next spot.

  • To delete the selected spot, press Delete or click Delete.
  • To delete every spot on the photo, click Clear All.

A photo can have up to 24 spots, counting red eye corrections.

Visualize Spots

Dust is hard to see on a plain sky. Tick Visualize Spots, or press A, and the photo shows its edges in white on black, so dust and small marks stand out. Drag Threshold (0.2 to 4.0) to show more or fewer marks. Untick it, or press A again, to see the photo.

Red Eye

Red Eye removes the red in eyes caused by flash.

  1. Click Red Eye.
  2. Zoom in on the eyes (press Z).
  3. Press at the centre of the pupil and drag out to the edge of the red. A circle shows the area. Do the same for the other eye.

Within the circle, Chhaya takes out the red. To move a correction, drag its circle. Delete, Clear All and Done work as in Spot Removal; Clear All here removes only the red eye corrections.

Note

The Red Eye options say "Drag across each eye", but the drag sets the circle from its centre: start in the middle of the pupil.

Masks

A mask limits adjustments to part of the photo: brighten the bride's face, darken a bright sky, warm the diyas only. Each mask has its own set of sliders.

Masks open on a photo of diyas at night: a radial gradient around the nearest diya with its centre and edge handles, the red overlay showing the masked area, and in the right panel Mask 1 (Radial Gradient) with Feather 50, Exposure +0.80 and Shadows +25.

Click Masks, or press K, to open the Masks options. Then add a mask:

Button Makes a mask from
+ Brush Where you paint
+ Linear A straight gradient, full on one side and fading out (press M while Masks is open)
+ Radial An oval, full inside and fading at its edge
+ Color Range Every part of the photo near a colour you click
+ Luminance Range Every part of the photo in a range of brightness
AI: Subject The main subject of the photo
AI: Sky The sky
AI: People The people
AI: Background Everything except the main subject

After you add a mask, set its sliders under Adjust. You can have up to 8 masks on a photo, counting the parts you add to them.

Brush

  1. Click + Brush.
  2. Paint on the photo. The two circles under the pointer show the brush size and where its soft edge begins.
  3. To take paint off, click Erase, or hold Alt while you paint. Click Paint to go back.
Setting Range Default What it does
Size 0.002 to 0.300 0.030 The brush size, as a part of the photo's long edge (0.030 is 3%). You can also turn the mouse wheel over the photo.
Feather 0.00 to 1.00 0.50 How soft the brush edge is.
Flow 0.05 to 1.00 1.00 How much each stroke adds. Low flow lets you build up the effect with several strokes.

The brush settings are kept for each stroke as you paint it. Changing them later doesn't change strokes you already made.

Linear gradient

A linear gradient is full strength on one side and fades to nothing on the other. Use it to darken a bright sky, or a bright floor in front of a stage.

  1. Click + Linear, or press M.
  2. Press where the effect should be full, and drag to where it should end. For a sky, press at the top and drag down to the horizon.
  3. Three lines show the gradient: where it is full, the middle (dashed), and where it ends.

To change it, drag the handle on the first or last line to move that end, or drag the middle handle to move the whole gradient. A wider gap between the lines gives a softer fade.

If you click without dragging, Chhaya makes a short gradient downwards from that point.

Radial gradient

A radial gradient is an oval: the effect is full inside and fades out at the edge. Use it to lift a face or the couple in a dark hall. Tick Invert to change everything outside the oval instead, for a vignette around the subject.

  1. Click + Radial.
  2. Press at the centre of the area and drag outwards. Hold Shift while you drag for a circle.
  3. Drag the centre handle to move the oval, or one of the four edge handles to change its width or height.

Feather (0 to 100, default 50) sets how soft the edge is. The dashed inner oval shows where the fade begins.

If you click without dragging, Chhaya makes a circle of a standard size there.

Color Range

  1. Click + Color Range.
  2. Click a colour in the photo, such as the red of a saree or the green of mehendi leaves.
  3. Drag Refine (0 to 100, default 50) to take in more or fewer similar colours.

To pick a different colour, click Pick the colour again and click in the photo.

Note

Pick the colour again makes the mask afresh, so its Adjust sliders go back to 0. Pick the colour before you set the sliders.

Luminance Range

+ Luminance Range selects parts of the photo by brightness, with no clicking on the photo.

Setting Range Default What it does
From 0 to 100 60 The darkest brightness in the mask
To 0 to 100 100 The brightest brightness in the mask
Smoothness 0 to 100 20 How softly the mask fades in and out at those limits

With the defaults, the mask holds the bright parts of the photo. Set From 0 and To 30 for the shadows.

AI masks: Subject, Sky, People and Background

The AI buttons find part of the photo for you.

Button What it finds
Subject The main subject, of any kind: a person, a couple, a product
Sky The sky
People All the people in the photo
Background Everything except the main subject

Click a button and wait. Chhaya shows "Finding the…" while it works, and turns on the red overlay when it's done.

The AI models run on your own computer, and your photos are never sent anywhere. Each model is downloaded once, the first time you use it, and kept in the browser's cache:

Model Used by Download
Subject Subject and Background About 5 MB
Sky and people Sky and People About 87 MB

During the download, Chhaya shows how many MB have arrived. The first use needs an internet connection; later uses don't download the model again.

If there's no sky or no person in the photo, Chhaya says "No sky found in this photo." or "No people found in this photo." and adds no mask.

The AI masks are found from the whole photo as imported, at up to 1024 pixels on its long edge, so their edges are soft. For a sharp edge, refine the mask with a brush part (see below).

Adjusting a mask

Under Adjust, each mask has its own sliders. They are added to the photo's own settings, in the masked part only.

Slider Range
Temp, Tint −100 to +100
Exposure −4.00 to +4.00
Contrast, Highlights, Shadows, Whites, Blacks −100 to +100
Texture, Clarity, Dehaze −100 to +100
Saturation −100 to +100

For example, on the bride's face: Exposure +0.30, Texture −20 for softer skin. On the sky: Exposure −0.50, Dehaze +20, Temp −10.

Seeing the mask

Tick Show overlay, or press O, to show the masked part in red. Press O again to hide it. The overlay only shows while the Masks tool is open.

Each mask also has a small round pin on the photo. The selected mask's pin is orange. Click a pin to select that mask. Luminance Range and AI masks have their pin in the middle of the photo.

The mask list

The Masks options list the masks on the photo: Mask 1, Mask 2 and so on, with the kind of each.

  • Click a mask in the list to select it and see its settings.
  • Click ● next to a mask to hide its effect, and ◌ to show it again.
  • Invert turns the mask inside out.
  • Delete Mask, or Delete on the keyboard, removes the selected mask.

Adding to and taking away from a mask

A mask can be made of several parts. For example, use Subject to find the couple, then subtract a brush part where the AI took in a pillar.

  1. Select the mask in the list.
  2. Choose the kind of part in one of the lists:
    • Add…: the part is added to the mask.
    • Subtract…: the part is taken out of the mask.
    • Intersect…: only the area in both the mask and the part is kept.
  3. Draw or pick the part as for a new mask.

Parts show in the list under their mask, marked +, - or ∩. The adjustments belong to the whole mask: selecting a part shows its mask's sliders. Deleting a part removes only that part; deleting the first part deletes the whole mask.