有没有一种方法可以旋转位图而不必将其复制?或者可能是持有位图的ImageView?目前我有类似以下代码:
Bitmap bm = BitmapFactory.decodeFile(...
// get the orientation
Matrix m = new Matrix
m.postRotate(orientation)
Bitmap new = Bitmap.createFromBitmap(bm, ..., m);