
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@lodev09/react-native-exify
Advanced tools
A simple library to read and write image Exif metadata in React Native. Inspired from this thread.
yarn add @lodev09/react-native-exify
import { writeAsync, readAsync, ExifTags } from '@lodev09/react-native-exify';
// ...
const uri = 'file://path/to/image.jpg'
const tags = await readAsync(uri)
console.log(tags)
const uri = 'file://path/to/image.jpg'
const newTags: ExifTags = {
GPSLatitude: 69.69,
GPSLongitude: 69.69,
UserComment: 'Someone wrote GPS here!',
}
const result = await writeAsync(uri, newTags)
console.log(result.tags)
[!NOTE] On IOS, writing exif into an Asset file will duplicate the image. IOS does not allow writing exif into an Asset file directly. If you're getting the photo from a camera, write it into the output file first before saving to the Asset library!
See example for more detailed usage.
Contributions are welcome!
See the contributing guide to learn how to contribute to the repository and the development workflow.
FAQs
Read and write exif data into an image 🏷️
The npm package @lodev09/react-native-exify receives a total of 11,478 weekly downloads. As such, @lodev09/react-native-exify popularity was classified as popular.
We found that @lodev09/react-native-exify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.