Function fetchURL

  • Fetches image URL and decodes it.

    Parameters

    • dataUrl: string

      Image URL.

    Returns Promise<Image>

    decoded image data.