mediaforge - v2.2.0
    Preparing search index...

    Interface ToneMapFilterOptions

    interface ToneMapFilterOptions {
        algorithm?: ToneMapAlgorithm;
        peak?: number;
        targetPeak?: number;
        parameter?: number;
        desaturation?: number;
        output?: ToneMapOutput;
        normalizeInput?: boolean;
    }
    Index

    Properties

    algorithm?: ToneMapAlgorithm

    Tone-mapping curve. Default: 'mobius' — the perceptually best of the built-ins for HDR→SDR at typical content levels.

    peak?: number

    Peak luminance of the source in nits, e.g. 1000 for a PQ 1000-nit master.

    targetPeak?: number

    Desired output peak in nits. Default: 100 (SDR reference white).

    parameter?: number

    Parametric tuning used by the mobius/reinhard/linear algorithms. Ignored by hable, clip and spline.

    desaturation?: number

    Desaturation applied to out-of-range colours, 0-1. Default: 0.6

    output?: ToneMapOutput

    Output colour space. Default: 'bt709'

    normalizeInput?: boolean

    Correct the source primaries/transfer before tone mapping. Default: true. Set false if the input is already tagged correctly and you only want the transfer-function curve applied.