Describe the bugImage.toBitmap() can throw java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
To Reproduce
Get a Uri to a photo (jpg) on disk
Use execute() to get a SuccessResult.image
Call Image.toBitmap()
It's not reusing the underlying Bitmap because toImage() check if the config is ARGB_8888. I would expect the no-arg toImage() to return whatever underlying Bitmap exists
Describe the bug
Image.toBitmap()
can throwjava.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
To Reproduce
Uri
to a photo (jpg) on diskexecute()
to get aSuccessResult.image
Image.toBitmap()
It's not reusing the underlying Bitmap because
toImage()
check if the config isARGB_8888
. I would expect the no-argtoImage()
to return whatever underlying Bitmap existsVersion Coil
3.0.0