Georeferencing API
    Preparing search index...
    • Convenience ArrayBuffer encoder wrapping encodeGeoTiffBlob. Materializes a complete output copy; the worker uses the Blob API.

      Parameters

      • data: Uint8ClampedArray

        Row-major 8-bit RGBA with unassociated alpha.

      • width: number

        Positive integer pixel width.

      • height: number

        Positive integer pixel height.

      • bounds: Extent

        Outer pixel-edge extent in the output CRS, with row zero at maxY.

      • crs: string

        EPSG identifier with numeric code below 32767. Custom WKT GeoKeys are not supported.

      • geographic: boolean

        True for geographic CRS GeoKeys, false for projected CRS GeoKeys; must agree with crs.

      • compression: NonNullable<"none" | "deflate" | "packbits" | undefined> = "none"

        Strip codec; defaults to none.

      Returns Promise<ArrayBuffer>