如何为图片添加自定义 GPS 位置?

use*_*456 4 file-format jpeg images gpsd geolocation

给定.jpg一张没有关联 GPS 坐标的图片,您会如何建议为其添加自定义坐标?

GAD*_*D3R 5

你可以使用exiftool命令

例如:

exiftool -exif:gpslatitude="Put_the_GPS_coordinate_here" -exif:gpslatituderef=S your.jpg
Run Code Online (Sandbox Code Playgroud)

验证一下:

exiftool -filename -gpslatitude -gpslongitude -T your.jpg
Run Code Online (Sandbox Code Playgroud)