I am working on android and I want to create a white bitmap from an array of bytes but I do not know how it is done, for the moment I have tried this
byte[] bytes = new byte[10000];
for (int i=0;i<bytes.length;i++){
b[i]= 0 & 0xff;
}
Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length);
this.imageView.setImageBitmap(bitmap);