SubSamplingImage

fun SubSamplingImage(state: SubSamplingImageState, contentDescription: String?, modifier: Modifier = Modifier, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null)

An Image composable that can render large bitmaps by diving them into tiles so that they can be loaded lazily. This ensures that images maintain their intricate details even when fully zoomed in, without causing any OutOfMemory exceptions.

SubSamplingImage is automatically used by me.saket.telephoto.zoomable.ZoomableImage.