Negative latitude and longitude not saved properly in EXIF
Originator: | paewel | ||
Number: | rdar://32947587 | Date Originated: | 23-06-2017 |
Status: | Resolved in 10.13 | Resolved: | yes |
Product: | Product Version: | ||
Classification: | Reproducible: | YES |
Area: AppKit Summary: "exif:GPSLongitude" and "exif:GPSLatitude" does not allow for saving negative doubles to an image file, the resulting image file contains an obviously wrong latitude/longitude Steps to Reproduce: Use CGImageDestinationCopyImageSource with a JPG image for example. Options should contain a dictionary with kCGImageDestinationMetadata key and a GPS dictionary as a value. GPS dictionary should contain "exif:GPSLongitude" key with a negative value. Expected Results: The resulting file will have the same negative value as specified in the GPS dictionary Observed Results: The resulting file contains a big negative value, which is not a latitude/longitude degree value Version: MacOS Sierra 10.12.5 (16F73)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!