rotateBitmap

private final Bitmap rotateBitmap(Bitmap bitmap, Float degrees, Boolean isFrontCamera)

Rotate a bitmap

Return

The rotated bitmap

Parameters

bitmap

The bitmap

degrees

The degrees to rotate the bitmap

isFrontCamera

Whether the camera is facing front (this will mirror the image)