public CloseableReference<Bitmap> createBitmap(
      int width,
      int height,
      Bitmap.Config bitmapConfig) {
    return createBitmap(width, height, bitmapConfig, null);
  }
public CloseableReference < Bitmap > createBitmap ( int width , int height , Bitmap . Config bitmapConfig ) { return createBitmap ( width , height , bitmapConfig , null ) ; }
Creates a bitmap of the specified width and height.

@param width the width of the bitmap
@param height the height of the bitmap
@param bitmapConfig the Bitmap.Config used to create the Bitmap
@return a reference to the bitmap
@throws TooManyBitmapsException if the pool is full
@throws java.lang.OutOfMemoryError if the Bitmap cannot be allocated