Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.Matrix; public class Main { public static Bitmap flipBitmap(Bitmap bm) { Matrix matrix = new Matrix(); matrix.postRotate(90); int width = bm.getWidth(); int height = bm.getHeight(); bm = Bitmap.createBitmap(bm, 0, 0, width, height, matrix, true); return bm; } }