I’m creating a bitmap like this
val outBmp = createBitmap(matOutput.width(),matOutput.height(),Bitmap.Config.RGB_565)
and then converting using
Utils.matToBitmap(matOutput,outBmp)
I’m creating a bitmap like this
val outBmp = createBitmap(matOutput.width(),matOutput.height(),Bitmap.Config.RGB_565)
and then converting using
Utils.matToBitmap(matOutput,outBmp)