Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File Upload and EXIF in mobile Safari

As noted in these questions, there are cases where foto uploads on iOS have their geolocation and other EXIF metadata removed (in safari):

https://apple.stackexchange.com/questions/326789/gps-exif-from-iphone-photo-upload-in-safari

Image upload from iphone strips exif data

As of now, I have not found a proper description of the circumstances when this happens. I have 2 devices for testing with the latest iOS installed where EXIF metadata is NOT stripped.

Is there a way to determine, most hopefully in the browser or from the upload, if the metadata has been stripped in order to show some kind of info to the user?

like image 324
phoet Avatar asked Sep 15 '19 07:09

phoet


People also ask

Can you view EXIF data on iPhone?

Exif Metadata lets you quickly and easily view, edit, and remove metadata, including GPS location, from your iPhone and iPad photos.

How can I see EXIF data for video Mac or Android or IOS?

Viewing EXIF data in Windows is easy. Just right-click on the photo in question and select “Properties”. Click on the “Details” tab and scroll down—you'll see all kinds of information about the camera used, and the settings the photo was taken with.

How do I upload an image to Safari?

Tap Photo Library. Select the image in your library, then tap Choose Image Size at the bottom of the screen. Select Large, Medium, Small, or Actual Size, then tap to go back to your photo library. Tap Done in the top-right corner of the screen to upload the image.


1 Answers

I can tell you right now that with my iPhone X and IOS 13.3 (current) the exif data is stripped if I use the default Settings->Camera->Formats setting, which is 'High Efficiency'. But if I change that to 'Most Compatible', the EXIF data is not stripped. These results are consistent if I do not manipulate the photo at all on my phone before uploading.

It looks like photos that are shot under 'High Efficiency' mode do upload with EXIF data if they have been edited on the phone first - but I have not done extensive testing to verify if this is always the case or under what conditions this always works.

like image 187
Craig Nakamoto Avatar answered Sep 19 '22 16:09

Craig Nakamoto