| Summary: | Uploading from camera on iOS unconditionally strips EXIF GPS location data (as opposed to uploading from library) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam W <sam.webb> | ||||
| Component: | Images | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | REOPENED --- | ||||||
| Severity: | Normal | CC: | akeerthi, ap, sabouhallawa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 17 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 17 | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=257534 | ||||||
| Attachments: |
|
||||||
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. 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. |
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.