fetchImage

suspend fun fetchImage(url: String): ByteArray?

Fetch an image.

Return

Byte array of image data.

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.