Decoder for TIFF images.

Hierarchy (view full)

Constructors

Properties

dataType: TextureDataType
flipY: boolean
isGeoTIFFFormat: boolean = true
isImageFormat: boolean = true
type: string

Methods

  • Decode a tiff blob into a DataTexture containing the elevation data.

    Parameters

    • blob: Blob

      the data to decode

    • options: DecodeOptions = {}

      the decoding options

    Returns Promise<{
        max: number;
        min: number;
        texture: Texture;
    }>