Android Bitmap from Byte Array Create createBitmapFromByteArray(byte[] data)

Here you can find the source of createBitmapFromByteArray(byte[] data)

Description

create Bitmap From Byte Array

Declaration

public static Bitmap createBitmapFromByteArray(byte[] data) 

Method Source Code

//package com.java2s;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class Main {
    public static Bitmap createBitmapFromByteArray(byte[] data) {
        return BitmapFactory.decodeByteArray(data, 0, data.length);
    }// ww w.jav  a2 s .com
}

Related

  1. byteArrayToBitmap(byte[] b)
  2. bytes2Bitmap(byte[] b)
  3. createBinaryImage(int[][] source, int width, int height)
  4. makeBitmap(byte[] jpegData, int maxNumOfPixels)
  5. unFlattenBitmap(byte[] bitmapData)
  6. getBitmapImage(Context context, String base64)
  7. Bytes2Bimap(byte[] b)