Mojtaba Arvin
Mojtaba Arvin

Reputation: 739

How to remove image metadata using wand python

I use wand-py but I can't write into Image.metadata , what shoud I do?

Upvotes: 2

Views: 1229

Answers (1)

georgexsh
georgexsh

Reputation: 16624

use Image.strip() method:

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

see more detail in the doc.

Upvotes: 4

Related Questions