rememberAIImage
fun rememberAIImage(url: String, targetSizePx: Int, maxBytes: Int = AIImageLoader.MaxDownloadBytes): ImageBitmap?
The image at url, sampled down to about targetSizePx, once it has loaded with AIImageLoader; null until then, or when it can't be loaded. Its load stops when this leaves the composition. Previews and snapshots don't load.
Parameters
url
The image's link.
targetSizePx
The size it shows at, in pixels.
maxBytes
The most bytes it downloads.