Class ImageNetwork

ImageNetwork provides access retrieve an image over the network.

Constructors

Properties

Methods

Constructors

Properties

base64: null | string
url: string

Methods

  • EncodeBase64 downloads an image from the network and converts the image to base64 encoding.

    Returns Promise<[string, null | Error]>

    • A Promise with a base64 string and an error object if the error is not null.