2011-10-01 199 views

回答

3

使用此

  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); 

乾杯!

+0

謝謝himanshu它工作正常我的情況 –