android deal with big images

// Deal with big image that size more 8M
BitmapFactory.Options option = new BitmapFactory.Options();
option.inTempStorage = new byte[1024*1024*5];
Bitmap bm = BitmapFactory.decodeFile(inputStream,cwj);

// We can also compute sample

你可能感兴趣的:(android)