francisco-sanchez-molina / react-native-exif

88 stars 52 forks source link

Exif data missing GPS #10

Open isAlmogK opened 7 years ago

isAlmogK commented 7 years ago

I'm getting back the following data it's missing the GPS is this correct

{"ImageWidth":1125,"ImageHeight":1500,"Orientation":1,"originalUri":"/private/var/mobile/Containers/Data/Application/CCE342DF-CB0D-475E-8975-FEF1F42EA956/tmp/react-native-image-crop-picker/644D5A44-608F-45BB-A350-58DB27E2895F.jpg","exif":{"{JFIF}":{"DensityUnit":0,"YDensity":72,"XDensity":72,"JFIFVersion":[1,0,1]},"ProfileName":"sRGB IEC61966-2.1","{TIFF}":{"Orientation":1},"{Exif}":{"PixelYDimension":1500,"PixelXDimension":1125,"ColorSpace":1},"ColorModel":"RGB","PixelHeight":1500,"Depth":8,"Orientation":1,"originalUri":"/private/var/mobile/Containers/Data/Application/CCE342DF-CB0D-475E-8975-FEF1F42EA956/tmp/react-native-image-crop-picker/644D5A44-608F-45BB-A350-58DB27E2895F.jpg","PixelWidth":1125}}

And this is the image uri /private/var/mobile/Containers/Data/Application/25E25800-C51F-44BE-BEDA-B9DA7CE4CEBA/tmp/react-native-image-crop-picker/26C6E09D-571F-4745-BBA4-ABB0FCCFE7DD.jpg

I'm using the react-native-image-crop-picker the image is stored in a temp folder maybe that is the issue.

nes123 commented 5 years ago

+1