@dusrel/image API
    Preparing search index...

    Interface AdjustOptions

    interface AdjustOptions {
        brightness?: number;
        contrast?: number;
        exposure?: number;
        gamma?: number;
        grayscale?: boolean;
        hueRotate?: number;
        invert?: boolean;
        saturation?: number;
        sepia?: boolean;
    }
    Index
    brightness?: number

    Additive brightness, -1..1 (0 = unchanged).

    contrast?: number

    Contrast factor around mid-grey, -1..1 (0 = unchanged).

    exposure?: number

    Exposure in stops (EV): each +1 doubles light. -3..3 typical.

    gamma?: number

    Gamma exponent, > 0 (1 = unchanged).

    grayscale?: boolean

    Convert to greyscale (luminance).

    hueRotate?: number

    Hue rotation in degrees (any finite number; wraps).

    invert?: boolean

    Invert RGB channels.

    saturation?: number

    Saturation multiplier, -1..1 (0 = unchanged, -1 = greyscale).

    sepia?: boolean

    Apply the classic sepia tone.