createBitmapFromRGBA

private final Bitmap createBitmapFromRGBA(ByteArray bytes, Integer width, Integer height)

Create a bitmap from an RGBA byte array

Parameters

bytes

The byte array

width

The width of the image

height

The height of the image