python通过pil模块获得图片exif信息的方法
作者:疯狂一夏 时间:2021-08-26 14:31:21
本文实例讲述了python通过pil模块获得图片exif信息的方法。分享给大家供大家参考。具体分析如下:
python的pil模块功能超级强大,不但可以用来处理图片也可以用来获取图片的exif数据
from PIL import Image
#code from https://www.jb51.net
img = Image.open('img.jpg')
exif_data = img._getexif()
希望本文所述对大家的Python程序设计有所帮助。
标签:python,pil,图片,exif
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Go语言string,int,int64 ,float之间类型转换方法
2023-06-28 15:20:30
python使用thrift教程的方法示例
2022-03-14 04:29:02
![](https://img.aspxhome.com/file/2023/1/101671_0s.png)
python实现CTC以及案例讲解
2023-04-18 22:04:13
![](https://img.aspxhome.com/file/2023/6/92176_0s.png)
Django框架教程之正则表达式URL误区详解
2021-03-18 13:46:13
![](https://img.aspxhome.com/file/2023/3/90583_0s.png)
HTML在线编辑器的原理分析(整理)
2007-12-22 10:25:00
Sql Server表死锁的解决方法分享
2011-09-01 19:08:00
Python使用docx模块实现刷题功能代码
2021-03-12 22:28:30
![](https://img.aspxhome.com/file/2023/9/102349_0s.jpg)
python将天气预报可视化
2021-01-19 01:37:46
![](https://img.aspxhome.com/file/2023/5/110495_0s.jpg)
web开发以HTML为中心
2008-02-13 08:14:00
![](https://img.aspxhome.com/file/UploadPic/20082/13/200821382345331s.png)
python利用scatter绘画散点图
2021-02-02 01:45:37
![](https://img.aspxhome.com/file/2023/6/94166_0s.png)
发个选星星打分/投票功能函数
2008-05-22 12:38:00
python pandas dataframe 按列或者按行合并的方法
2022-04-15 13:25:19
Pandas 同元素多列去重的实例
2023-02-09 21:03:32
Python 多进程并发操作中进程池Pool的实例
2022-06-28 16:31:37
python多次绘制条形图的方法
2021-07-22 09:36:45
![](https://img.aspxhome.com/file/2023/5/81625_0s.jpg)
Numpy中的数组搜索中np.where方法详细介绍
2022-08-31 22:09:40
Python如何实现远程方法调用
2022-11-11 20:42:15
微软建议的ASP性能优化28条守则(6)
2008-02-29 11:43:00
asp正则表达式在网页处理中的应用四则
2008-02-24 14:44:00
Python爬取视频(其实是一篇福利)过程解析
2021-09-21 17:52:11