Georeferencing API
    Preparing search index...
    • Encode an uncompressed north-up RGBA GeoTIFF synchronously using PixelIsArea. Allocates a complete ArrayBuffer; prefer encodeGeoTiffBlob for bounded-strip encoding.

      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.

      Returns ArrayBuffer

      Encoded TIFF with CRS, tiepoint, pixel scale and unassociated-alpha metadata.