Refactoring

This commit is contained in:
M66B 2021-06-06 21:36:22 +02:00
parent d3880b906c
commit 8d9d1f95d5
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ class ImageHelper {
static Matrix getImageRotation(File file) {
try {
ExifInterface exif = new ExifInterface(file.getAbsolutePath());
ExifInterface exif = new ExifInterface(file);
int orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED);
Matrix matrix = new Matrix();