You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:731)
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:81)
at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:121)
at android.graphics.Canvas.drawBitmap(Canvas.java:1615)
at coil3.BitmapImage.draw(Image.android.kt:65)
at coil3.Image_androidKt.toBitmap(Image.android.kt:43)
at coil3.Image_androidKt.toBitmap(Image.android.kt:28)
at coil3.Image_androidKt.toBitmap$default(Image.android.kt:24)
at io.keeppro.Krop.crop(Krop.kt:18)
at io.keeppro.CroppableState.crop(CroppableState.kt:242)
The text was updated successfully, but these errors were encountered:
hi @mahramane , this is a known issue for coil of rendering issue particularly on Android, you could find workaround and discussion at coil-kt/coil#159. I have same workaround in my sample as well
java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:731)
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:81)
at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:121)
at android.graphics.Canvas.drawBitmap(Canvas.java:1615)
at coil3.BitmapImage.draw(Image.android.kt:65)
at coil3.Image_androidKt.toBitmap(Image.android.kt:43)
at coil3.Image_androidKt.toBitmap(Image.android.kt:28)
at coil3.Image_androidKt.toBitmap$default(Image.android.kt:24)
at io.keeppro.Krop.crop(Krop.kt:18)
at io.keeppro.CroppableState.crop(CroppableState.kt:242)
The text was updated successfully, but these errors were encountered: