It's simple, if I use this line of code in android 5.0, 6.0 it works correctly, and converts the blob to bitmap. However, testing here on a lower device (android 4.2.2) it always returns null;
private Bitmap blotToBit(Blob blob) {
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = 4;
return BitmapFactory.decodeStream(blob.getBinaryStream(), null, options);
}
A simple log line is displayed for each attempt:
D/skia: --- SkImageDecoder::Factory returned null
Note that the bitmaps are 256x256 will they already be very large?
Obs . I already tried doing it using only 1 blob, and yes, it does not convert