I'm trying to do a camera application with image processing. Here I tried to convert the image (byte array) to bitmap, but
BitmapFactory.decodeByteArray
is returning null everytime
this is my code :
Log.e("test -> arry byte = ", String.valueOf(byteArray));
Log.e("byteArray.length = ", String.valueOf(byteArray.length));
Bitmap bmp = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length);
Log.e("bitmap ici ->>> ", String.valueOf(bmp));
and the following stack trace :
Anyone has an idea ?