[21:54:32] <rbonestell> I'm struggling to remove specific TIFF tags from an image using Pillow 3, does anyone have experience removing items from an ImageFileDirectory instance with success?
[21:59:20] <rbonestell> image_object.ifd.reset() does indeed remove the unwanted tags (and appears to be the only way I can do it) but it also removes the tags I want to preserve.
[22:01:20] <rbonestell> do I need to remove the items from image_object.ifd, image_object.tags, and image_object.tags_v2?
[22:04:49] <rbonestell> manipulating any tags and saving (other than .reset() on ifd) causes this: IndexError: string index out of range, if type(v[0]) == tuple and len(v) > 1:, TiffImagePlugin.py", line 1188, in _save