public static ViewOrientation getImageOrientation(@NonNull final Uri imageUri) {
        return ViewOrientation.ofExif(getExif(imageUri));
    }
Store a bitmap to uri.

@param bitmap    The bitmap to store
@param format    The image format
@param quality   The image quality
@param targetUri Path to store to
main/src/main/java/cgeo/geocaching/utils/ImageUtils.java