An Effect Function for the sepia effect.

interface SepiaEffectFunctionJson {
    amount?: number;
    type: "sepia";
}

Hierarchy

  • GenericEffectFunctionJson
    • SepiaEffectFunctionJson

Properties

Properties

amount?: number

Amount of effect. A value of 0 leaves the input unchanged. Grayscale, invert, sepia, and opacity effects accept a maximum amount of 1 which applies the effect at 100%. Brightness, contrast, and saturate can accept amount above 1. Negative values are not allowed.

type

Effect type.