关于bitmap size exceeds VM budget问题

1 BitmapFactory.Options options = new BitmapFactory.Options();

2                                                 options.inSampleSize = 2;

3                                                 Bitmap bm = BitmapFactory.decodeFile(path, option);

你可能感兴趣的:(bitmap)