I want to rotate the bitmap by 90 degrees in Android. And I don't want to get a new instance. Is there any way to resolve this? I have an idea: just rotate the pixels of the bitmap. But I can't do it.
temp = Bitmap.createBitmap(temp, 0, 0, w, h, matrix, false);