[mat-dev] New method a metadata removal

Supprimer ce message

Répondre à ce message
Auteur: jvoisin
Date:  
À: mat-dev >> The metadata anonymisation toolkit mailing list
Sujet: [mat-dev] New method a metadata removal
Hello everyone,
I got a bug report about an image:

```
$ ./mat ./image.png && ./mat -d ./image.png
[*] Cleaning ./pwnme.png
[+] ./pwnme.png cleaned!
[+] File ./pwnme.png :
Harmful metadata found:
    Virtual Page Units: 0
    Virtual Image Width: 300
    Datecreate: 2012-03-12T14
    Datemodify: 2012-03-12T14
    Virtual Image Height: 132
```


The current packaged version of Exiftool in Debian can't clean those
metadata, and I doubt that the 9.73[1] one will land soon.

This is why I'm thinking about using the same method as the PDF one:
open the document, and save it again, in its original format;
as opposed to the current method, of editing the metadata field.

I'd like to have some opinions about this method before implementing it.

What do you think ?

1.
https://webcache.googleusercontent.com/search?q=cache:VLMtnpxv4mEJ:130.15.24.88/exiftool/forum/index.php%3Ftopic%3D6078.0+&cd=7&hl=en&ct=clnk