Skip to content

Commit

Permalink
fixed coordinate reference for longitude
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Haußmann committed Sep 20, 2024
1 parent cd93dcd commit 91b6973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void saveImageWithProperties(String base64ImageData, ReadableMap properti
mappedProperties.put(ExifInterface.TAG_GPS_LATITUDE, convertToDMS(latitude));
mappedProperties.put(ExifInterface.TAG_GPS_LATITUDE_REF, latitude >= 0 ? "N" : "S");
mappedProperties.put(ExifInterface.TAG_GPS_LONGITUDE, convertToDMS(longitude));
mappedProperties.put(ExifInterface.TAG_GPS_LONGITUDE_REF, longitude >= 0 ? "N" : "S");
mappedProperties.put(ExifInterface.TAG_GPS_LONGITUDE_REF, longitude >= 0 ? "E" : "W");
mappedProperties.put(ExifInterface.TAG_GPS_ALTITUDE, convertToRational(altitude));
mappedProperties.put(ExifInterface.TAG_GPS_ALTITUDE_REF, altitude >= 0 ? "0" : "1");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lulububu/react-native-exif-modifier",
"version": "0.1.13",
"version": "0.1.14",
"description": "Allows you to modify the exif data of an image and save it.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 91b6973

Please sign in to comment.