Lens Correction
Lens Correction corrects lens distortion and off-center optical effects, either automatically from the photo's lens metadata or manually.
Parameters
| Parameter | Type | Options | Default | What it does |
|---|---|---|---|---|
| Mode | enum | auto, full, geometry, vignetting, chromatic, manual | auto | Correction mode. auto and the named modes use the lens identified in your photo's EXIF data; manual exposes direct controls. |
| Center X | number | 0 to 1 | 0.5 | (Manual mode) Horizontal optical center. |
| Center Y | number | 0 to 1 | 0.5 | (Manual mode) Vertical optical center. |
| K1 | number | -1 to 1 | 0 | (Manual mode) Primary distortion coefficient — corrects barrel/pincushion distortion. |
| K2 | number | -1 to 1 | 0 | (Manual mode) Secondary distortion coefficient, for finer correction at the frame edges. |
How it works
The automatic modes read your lens make/model from the photo's EXIF data and apply a matching correction profile — geometry, vignetting, and chromatic aberration can be corrected independently, or all together with full. If your lens isn't recognized, switch to manual and dial in Center X/Y and K1/K2 by eye.
Note: Lens Correction isn't currently reachable from the editor's Add Filter menu — it's applied automatically when auto lens correction is enabled elsewhere, rather than added as a manual filter instance. There's no control screenshot here for the same reason.
See also
Vignette for adding or adjusting edge darkening as a creative choice rather than correcting the lens's own natural vignetting.
JSON structure
{
"id": "lens-correction",
"enabled": true,
"params": {
"mode": "auto",
"cx": 0.5,
"cy": 0.5,
"k1": 0,
"k2": 0
}
}