Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.graphics.Matrix; import android.support.annotation.NonNull; public class Main { public static Bitmap mirrorImage(@NonNull Bitmap resultBitmap) { Matrix matrix = new Matrix(); matrix.preScale(-1.0f, 1.0f); Bitmap returnBitmap = Bitmap.createBitmap(resultBitmap, 0, 0, resultBitmap.getWidth(), resultBitmap.getHeight(), matrix, false); resultBitmap.recycle(); return returnBitmap; } }