Georeferencing API
    Preparing search index...

    Interface ExportContext

    Captured inputs for one export. Never mutate or retain shared preview pixels.

    interface ExportContext {
        document: Document;
        engine: Engine;
        file: File | null;
        fit: Fit | null;
        onProgress: (fraction: number) => void;
        preview: Raster | null;
        signal: AbortSignal;
        tag: JobTag;
    }
    Index
    document: Document

    Exact frozen revision to process.

    engine: Engine

    Host processing engine, retaining its configured limits/projections/scheduler.

    file: File | null

    Original local bytes; present for image-dependent exports.

    fit: Fit | null

    Current fit, or null for formats permitting unfinished sessions.

    onProgress: (fraction: number) => void

    Report normalized progress from 0 to 1.

    preview: Raster | null

    Read-only borrowed preview for reports; never transfer its data buffer.

    signal: AbortSignal

    Aborted on cancellation, supersession, re-alignment or suspension.

    tag: JobTag

    Revision identity for worker jobs.