• Downloads the content from the specified URL and attempts to decode it as an image.

    Parameters

    • arg: string | HttpsRequestOptions

      either The URL to request from or HttpsRequestOptions options.

    Returns Promise<ImageSource>