Closed MosGeo closed 1 year ago
According to the tutorial, you can assign None to remove a tag:
img.modify_xmp({'Xmp.xmp.Rating': None})
Ahh perfect. Sorry for noticing that. So it actually removes the key :) Nice!
I was actually doing that (thinking it is a good a substitute for removing the key). In my retrieval function, I am forcing to return None if the key is not there so I didn't notice that it was actually removed.
I was wondering if it is possible to delete one or more custom attributes in xmp. I see that right now, we can clear the xmp. I don't know if this is technically feasible or not.