【问题标题】:How to remove image metadata using wand python如何使用 wand python 删除图像元数据
【发布时间】:2017-11-21 08:53:05
【问题描述】:

我使用 wand-py 但无法写入 Image.metadata ,我该怎么办?

【问题讨论】:

    标签: python image python-3.x metadata wand


    【解决方案1】:

    使用Image.strip()方法:

    with Image(filename='i0.jpg') as img:
        img.strip()
        img.save(filename='i1.jpg')
    

    more detail in the doc

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-09-25
      • 1970-01-01
      • 2016-04-09
      • 1970-01-01
      • 1970-01-01
      • 2018-09-02
      • 2014-08-27
      相关资源
      最近更新 更多