How can i stop crashes when displaying a large siz...
# compose
v
How can i stop crashes when displaying a large sized bitmap in a
Image
composable Facing such errors when user picks a large sized image from the image picker
java.lang.RuntimeException - Canvas: trying to draw too large(188743680bytes) bitmap.
e
Tile the image or subsample or progressively load. I havent implemented this myself but the buzz words above should give you a better idea where / what to search
f
Check out Telephoto
v
Thanks a lot for sharing I'll check the implementation and add it to the Image Composable