Open jetic83 opened 6 years ago
Has anyone ever followed up on this issue because it would make anonymize-slide much more useful. As of now, the remaining PHI within the metadata are proving to be an issue.
It can be done. Examples from a PR:
fh.directories[1].entries[XMLPACKET].overwrite_entry(our_xmp) fh.directories[1].entries[IMAGE_DESCRIPTION].overwrite_entry(our_image_desc)
These overwrite the XMLPACKET and IMAGE_DESCRIPTION tags on directory #1. To delete, overwrite with safe values. Make sure to overwrite with a message the same length as the original otherwise the data might still be there.
Is there a way to delete certain fields in the scans such as comments or scan date or filename? These metainformation can be considered as PHI, or as non-anonymized data.