Skip to content

Commit

Permalink
GH-329: (android) Fixes issue: Exif data lost on many cases (#331)
Browse files Browse the repository at this point in the history
* GH-329 android: Fix Exif data lost when correctOrientation is true

* Changed variable name
  • Loading branch information
AlvaroHerrero authored and janpio committed Feb 21, 2019
1 parent b261d31 commit 81b878d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/android/CameraLauncher.java
Expand Up @@ -988,6 +988,7 @@ private Bitmap getScaledAndRotatedBitmap(String imageUrl) throws IOException {
// read exifData of source
exifData = new ExifHelper();
exifData.createInFile(filePath);
exifData.readExifData();
// Use ExifInterface to pull rotation information
if (this.correctOrientation) {
ExifInterface exif = new ExifInterface(filePath);
Expand Down

0 comments on commit 81b878d

Please sign in to comment.