0.1.6 • Published 1 year ago
react-native-exif-metadata1 v0.1.6
react-native-exif-metadata
This package used to update or get image exif data.
Installation
npm install react-native-exif-metadata
Usage
import { getMetaData,saveImageMetaInformation } from 'react-native-exif-metadata';
// ...
await saveImageMetaInformation({
base64String: "base64 image apth",
latitude: 01.8797,
longitude: 14.9098,
dateTime: String(new Date()),
onSuccess: (path)=>{
console.log("image updated path",path);
}
})
getMetaData({
imagePath: "image path",
onSuccess: (imageMetaData)=>{
console.log("image meta data",imageMetaData);
}
})
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library