@Override protected Bitmap alloc(int size){
  return Bitmap.createBitmap(1,(int)Math.ceil(size / (double)BitmapUtil.RGB_565_BYTES_PER_PIXEL),Bitmap.Config.RGB_565);
}

@ Override protected Bitmap alloc ( int size ) { return Bitmap . createBitmap ( 1 , ( int ) Math . ceil ( size / ( double ) BitmapUtil . RGB_565_BYTES_PER_PIXEL ) , Bitmap . Config . RGB_565 ) ; }
allocate a bitmap that has a backing memory allocacation of ' size ' bytes . this is configuration agnostic so the size is the actual size in bytes of the bitmap .
