核心方法: public Bitmap rotate(Bitmap b, int degrees){ if(degrees != 0 && b != null){ Matrix m = new Matrix(); m.postScale(1, -1); m.setRotate(degrees, b.getWidth(), b.getHeight()); Matrix temp = new Matrix(); float[] mirrorY = { -1, 0, 0, 0, 1, 0, 0, 0, 1 }; temp.setValues(mirrorY); m.postConcat(temp); try{ Bitmap b2 = Bitmap.createBitmap(b, 0, 0, b.getWidth(), b.getHeight(), m, true); if(b!= b2){ b.recycle(); b = b2; } }catch(OutOfMemoryError ex){ System.out.println("内存溢出异常"); }catch(Exception e){ System.out.println("出错了"); } } return b; } 使用例子: Bitmap t1 = (Bitmap) Bitmap.createBitmap(tableBm, 0, 0, 51, 104); Bitmap bmtmp = t1.copy(Bitmap.Config.ARGB_8888, true); Bitmap t2 = (Bitmap) rotate(bmtmp,360); 这样t2 就得到了t1的对称Y轴图片了。