Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从 Python 调用 exiv2 以从图像中去除所有 EXIF 标签,然后在没有来自 python 的 EXIF 标签的情况下计算图像的 md5 哈希。
最好的方法是什么?
您可以退出一个子进程(此处)并执行以下操作:
exiv2 -da a.jpg && md5 < a.jpg
或者
jhead -purejpg a.jpg