Lighting

class Lighting(val enabled: Boolean = false, val strength: Float = 1.0f)

Low-light correction: dim parts of the picture are lifted and bright parts are left alone, so a backlit subject brightens without the window behind them blowing out.

The curve is fixed rather than measured from the picture, so it lifts a dark frame and an already-bright one by the same amount.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false, strength: Float = 1.0f)

Properties

Link copied to clipboard
val enabled: Boolean = false

whether to correct the exposure. false by default.

Link copied to clipboard
val strength: Float = 1.0f

how much of the correction to mix in, 0.0..1.0. 1.0 by default. 0.0 is the same as enabled = false.

Functions

Link copied to clipboard
open override fun toString(): String