REOPENED263192
Uploading from camera on iOS unconditionally strips EXIF GPS location data (as opposed to uploading from library)
https://bugs.webkit.org/show_bug.cgi?id=263192
Summary Uploading from camera on iOS unconditionally strips EXIF GPS location data (a...
Sam W
Reported 2023-10-16 05:12:05 PDT
Created attachment 468226 [details] Choose file options I previously reported an issue that occurred when uploading a photo via a file input on iOS 16.4, in which the GPS location data was being stripped from the Exif data. This was resolved in iOS 17 via the new "options" menu in the photo picker that gives the user control over whether or not location is shared in the photos uploaded. However, this setting only applies to pre-existing photos selected from the photo library. If you choose to take a new photo with the camera, the GPS location data is still being stripped from the Exif data.
Attachments
Choose file options (31.97 KB, image/jpeg)
2023-10-16 05:12 PDT, Sam W
no flags
Radar WebKit Bug Importer
Comment 1 2023-10-23 05:13:13 PDT
Said Abou-Hallawa
Comment 2 2023-10-23 10:02:52 PDT
This is not a WebKit bug. It is a bug in a framework below WebKit. It will be forwarded to the appropriate team in Apple.
Aditya Keerthi
Comment 3 2023-10-23 11:17:07 PDT
WebKit is somewhat involved in this issue, since we convert the image to JPEG, stripping EXIF data: https://github.com/WebKit/WebKit/blob/00756ec4a27caa537682bf6e18005d7745ee26d1/Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm#L1169 Though we'd want an additional options menu for the camera path, before removing that logic in WebKit.
Note You need to log in before you can comment on or make changes to this bug.