Skip to content

Commit 81b878d

Browse files
AlvaroHerrerojanpio
authored andcommitted
GH-329: (android) Fixes issue: Exif data lost on many cases (#331)
* GH-329 android: Fix Exif data lost when correctOrientation is true * Changed variable name
1 parent b261d31 commit 81b878d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/android/CameraLauncher.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,7 @@ private Bitmap getScaledAndRotatedBitmap(String imageUrl) throws IOException {
988988
// read exifData of source
989989
exifData = new ExifHelper();
990990
exifData.createInFile(filePath);
991+
exifData.readExifData();
991992
// Use ExifInterface to pull rotation information
992993
if (this.correctOrientation) {
993994
ExifInterface exif = new ExifInterface(filePath);

0 commit comments

Comments
 (0)