V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tomcats
V2EX  ›  Python

请问怎么修改图片 exif 信息里面 主题 分级 标记 标注 这些属性呢

  •  
  •   tomcats · Aug 31, 2021 · 1814 views
    This topic created in 1705 days ago, the information mentioned may be changed or developed.

    7-M-V-W-HIH-MN-O-QXE5.png

    我用了 piexif 这个库去修改,貌似没有能修改这些属性的方法,这几个属性好像也不属于 exif 信息

    4 replies    2021-09-01 19:40:39 +08:00
    2i2Re2PLMaDnghL
        1
    2i2Re2PLMaDnghL  
       Aug 31, 2021
    是不是来自文件系统的属性?尝试修改前后对比下 md5
    tomcats
        2
    tomcats  
    OP
       Aug 31, 2021
    @2i2Re2PLMaDnghL 改了以后 md5 有变化
    tiramice
        3
    tiramice  
       Aug 31, 2021
    这些是 IPTC metadata,py3exiv2 这个库可以修改,文档在 https://python3-exiv2.readthedocs.io/en/latest/tutorial.html
    tomcats
        4
    tomcats  
    OP
       Sep 1, 2021
    @tiramice 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   760 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 21:18 · PVG 05:18 · LAX 14:18 · JFK 17:18
    ♥ Do have faith in what you're doing.