VFX-JS
    Preparing search index...

    Type Alias DitherParams

    type DitherParams = {
        brightness: number;
        contrast: number;
        levels: number;
        mono: boolean;
        monoColor: string;
        size: number;
        style: DitherStyle;
    }
    Index

    Properties

    brightness: number

    Brightness applied before quantization (1 = unchanged).

    contrast: number

    Contrast applied before quantization (1 = unchanged).

    levels: number

    Quantization steps per channel.

    mono: boolean

    Output a single tinted channel instead of RGB.

    monoColor: string

    Foreground tint for mono mode. Accepts a hex string.

    size: number

    Pattern scale, in px per dither cell.

    Dither pattern.