Sepia

class Sepia(val amount: Float = 1.0f) : EffectSpec(source)

Tone the frame towards the warm brown of an old photograph.

The tone is the one filter: sepia() in a browser applies, blended with the untouched frame by amount.

Throws

when amount is not a finite number.

Constructors

Link copied to clipboard
constructor(amount: Float = 1.0f)

Properties

Link copied to clipboard

How much of the tone to apply, where 0f leaves the frame unchanged and 1f is fully toned. Values outside that range are clamped to it.

Link copied to clipboard
Link copied to clipboard
open override val id: String
Link copied to clipboard
open val isInert: Boolean
Link copied to clipboard
Link copied to clipboard
open val scope: EffectScope
Link copied to clipboard
open override val stage: EffectStage