箭头旋转180度的Android
答
使用此
int w = oldBitmap.getWidth();
int h = oldBitmap.getHeight();
String filePath = null;
Matrix mtx = new Matrix();
mtx.postRotate(180);
oldBitmap = Bitmap.createBitmap(oldBitmap, 0, 0, w, h, mtx, true);
干杯!
谢谢himanshu它工作正常我的情况 –