numandev1/react-native-compressor

Exif data removed on compress

Closed this issue · 5 comments

Current behavior

When I compress my images, exif data are removed from my image.

Expected behavior

I expect to have the same exif in the output or have an option to prevent the compressor from doing it.

Platform

  • Android
  • iOS

React Native Version

0.72.6

React Native Compressor Version

1.8.12

Reproducible Steps And Demo

Take a picture with your phone and upload it through the compressor
Check the exif data on the backend side or frontend

👋 @dylanFdvhuset
Thanks for opening your issue here! If you find this package useful hit the star🌟!

@dylanFdvhuset thanks for reporting, i am going to add this in my task list, hopefully i will fix it after 3 to 4 week

@dylanFdvhuset which exif data, you are trying to get from the backend?
on my side I am getting EXIF data

Image

@numandev1 On our images, we have Date original, the coordinates of the place were the photo was taken, the phone manufacturer missing.

Also on Android, the orientation switch to Horizontal.

@dylanFdvhuset can you try 1.8.15 version as i added exif copy support in this version