Portrait Relighting – Light Direction & Colour
Draggable light + live preview Live preview · full-size export
How Portrait Relighting – Light Direction & Colour Works
This tool adds a simulated studio light to a portrait. You place the light on the photo; the area near it gets brighter and takes on the light’s colour, while the far side falls into shade. It is a 2D effect, not 3D: there is no depth map, no face model and no AI. The shading is derived from the photo’s own brightness, so it follows the shapes already visible in the picture. Everything runs in your browser and the export is full size.
How to relight a portrait
- Drop a .jpg, .png or .webp portrait onto the workspace.
- Drag the round light marker, or press anywhere on the photo, to place the light. It starts at the upper left. When the marker has focus, the arrow keys move it in small steps and Shift+arrow in larger ones.
- Set “Light strength” (0–100%, default 60%). At 0% the export is identical to the original.
- Set “Colour temp.” from 2500 K to 9500 K (default 4800 K). 6500 K adds no tint; lower values are warmer (orange), higher values cooler (blue). “Softness” (default 45%) widens the light, shown by the dashed ring, and flattens the shading.
- Press and hold “Hold to compare” to see the original, use “Reset” to return to the defaults, then choose .png or .jpg and export.
What it can and cannot do
- The light brightens a broad area around the marker and darkens the rest, so overall exposure stays about the same. The sense of shape comes from smoothed brightness changes in the photo: a rough cue for the curve of a cheek or a nose, not real geometry.
- Works well: flat or front-lit portraits that need a sense of direction, a warmer or cooler mood, or a gentle spotlight on the face.
- Does not work: it cannot create new cast shadows (under the nose, from a hat brim) or move shadows that are already in the photo. It multiplies the existing pixels, so pure black areas stay black and blown-out highlights gain no detail.
- There is no subject mask, so the background near the light is lit too. Place the light so the face is the closest thing to it, or raise “Softness” for a more even result.
Size, speed and privacy
| Item | Detail |
|---|---|
| Preview | Computed at up to 1,280 px on the long side so dragging the light stays smooth |
| Export | The same light pattern is scaled up onto the full-size pixels, so the file matches the preview |
| Maximum size | Up to 40 megapixels and 16,384 px on the long side; if the browser cannot create a canvas that large, the photo is reduced to 16.7 MP. The sizes used are shown under the photo |
| Output | .png or .jpg; the file name ends in -relit |
| Privacy | Processed in a background worker in your browser, never uploaded |
Questions
- Is this real 3D relighting?
- No. Real relighting needs the shape of the face, which this tool does not estimate. It applies a smooth pattern of light and shade in 2D, shaped by the brightness already in the photo. That is enough to suggest a direction, not to light a face from a new angle.
- Why did the side away from the light get darker?
- To keep the overall exposure about the same, brightening near the light is balanced by darkening elsewhere. Lower “Light strength” or raise “Softness” if the far side gets too dark.
- Why do the skin tones look orange or blue?
- That is the light colour. Values below 6500 K on “Colour temp.” tint the lit area warm, values above tint it cool. Set 6500 K for a neutral light that changes only brightness.
More in Photo & Visual
Portrait Skin Retouch & Blemish Brush
Smooth skin with an edge-preserving filter through a mask you control: skin-coloured areas are pre-selected, then paint Smooth or Protect to fix hair or background, and heal spots with a brush that copies nearby skin texture. Exports at full size up to 16.7 megapixels. No face detection or AI.
Crop, Rotate & Resize Image (1:1 / 4:5 / 16:9 / Passport)
Drag the crop box or its handles, lock a ratio (1:1, 4:5, 3:4, 16:9, 9:16) or an exact size such as a 35×45 mm passport photo, type the output width × height in pixels, rotate 90°, straighten up to ±45° and flip horizontally or vertically.
Remove Image Background & Transparent Cutout
An AI model running in your browser cuts out people, products and pets, even on busy backgrounds. Touch up with an erase/restore brush and export a full-size transparent PNG, or a white, ID-blue or custom background. The photo is not uploaded.