``` java.lang.IllegalStateException: unable to copyPixelsToBuffer, pixel access is not supported on Config#HARDWARE bitmaps ``` fix is ``` result.asAndroidBitmap().copy(Bitmap.Config.ARGB_8888, false).toImageResource() ```