Describe the bug
The image is downscaled when shown at a low resolution, however when the Density increases, the image does not rescale appropriately.
(open images in new tab for better example)
To Reproduce
var scale by remember { mutableStateOf(1f) } // Add a way to change this
val oldDensity = LocalDensity.current
val newDensity = Density(oldDensity.density * scale, oldDensity.fontScale)
CompositionLocalProvider(
LocalDensity provides newDensity
) {
AsyncImage(url, "")
}
Version
Coil 3.3.0, both on desktop and web (wasm)