• Fetches image data from a URL and returns it as a Uint8Array.

    Parameters

    • url: string

      The URL of the image.

    Returns Promise<Uint8Array>

    A promise that resolves with the image data as a Uint8Array.

    Throws

    If the URL is not provided or the image data cannot be fetched.

Generated using TypeDoc