fetchImageAsync

@DelicateCoroutinesApi
fun fetchImageAsync(url: String): CompletableFuture<ByteArray?>

Fetch an image asynchronously.

Return

The image data bytes.

Retrieves the image from the specified image url.

Directly fetching image urls in any other way can lead to missing data or 404s depending on the streaming service.

Parameters

url

The image url to fetch.