produceBgr888

fun produceBgr888(bitmap: Bitmap?): IBitmap?

Adapts the input android.graphics.Bitmap to IBitmap with EImagePixelFormat.BGR_888 format. ImageConverter.toByteBufferBgr888's result is used as input for IBitmap.produce.

Parameters

bitmap

Bitmap that needs adaptation.