Drawable drawable = new BitmapDrawable(bitmap); Bitmap bitmap = ((BitmapDrawable)drawable).getBitmap();