3D-City Model
    Preparing search index...
    • Obtain the pixel dimensions of an image via its URL.

      Parameters

      • imageUrl: string

        URL to the image file.

      Returns Promise<{ height: number; width: number }>

      Promise resolving to an object with width and height.

      const {width, height} = await getImageDimensions('tiles/layer.png');