code: public static Bitmap generateBitmap(final int[] argbIntBuffer,
              final int width, final int height) {
          return Bitmap.createBitmap(argbIntBuffer,
                                     width, height, Bitmap.Config.ARGB_8888);
      }
docs: Generates a {@code Bitmap} from a int array containing {@code width} *
  {@code height} pixels. The pixel format is in ARGB_8888 format for
  Android.
  
  @param argbIntBuffer The int array containing pixels values.
  @param width The width of the image.
  @param height The height of the image.
  @return The generated {@code Bitmap} object.