python向jpg图片添加经纬度信息

import piexif from PIL import Image # Read Image fname = 'Wide.JPG' img = Image.open(fname) exif_dict = {"GPS":{}} exif_dict['GPS'][piexif.GPSIFD.GPSL
posted @ 2023-11-16 20:31  祥瑞哈哈哈  阅读(120)  评论(0编辑  收藏  举报