这是bitmap和bitmapdrawable之间的转换BitmapDrawable bitmapDrawable = new BitmapDrawable(bitmap);Bitmap bitmap = bitmapDrawable.getbitmap();