react-native-exify icon indicating copy to clipboard operation
react-native-exify copied to clipboard

Some tags are not written

Open orientalperil opened this issue 8 months ago • 0 comments

Good library, but I'm having an issue where writing some tags doesn't work. I read the metadata from a photo from a camera component and then write it to another file. The new file has most of the data but some tags are not written. Developing on iOS.

import {readAsync, writeAsync} from '@lodev09/react-native-exify'

let exifData = await readAsync(photo.path)
let uri = `${FileSystem.documentDirectory}/file.jpg`
await writeAsync(uri, exifData)

These are the tags that will not get written:

DateTime
ExifVersion
FlashPixVersion
GPSDOP
GPSImgDirection
GPSImgDirectionRef
HostComputer
Make
Model
Software

orientalperil avatar Mar 23 '25 23:03 orientalperil