Class ImageNetwork

ImageNetwork provides access retrieve an image over the network.

Constructors

Methods

Constructors

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.