diff options
| author | jvoisin | 2011-08-16 18:15:57 +0200 |
|---|---|---|
| committer | jvoisin | 2011-08-16 18:15:57 +0200 |
| commit | c1607cb3ad1bac02abd844516ce2dc052fd0cc12 (patch) | |
| tree | f4cca1363b5ef800ee48a277ba89395167890fcf /README | |
| parent | 4bd3e47da02fde08acfada1795cc55170abdb00a (diff) | |
Add fogottent stuff
Diffstat (limited to 'README')
| -rw-r--r-- | README | 29 |
1 files changed, 26 insertions, 3 deletions
| @@ -9,7 +9,7 @@ METADATA AND PRIVACY: | |||
| 9 | Cameras record data about when a picture was taken and what | 9 | Cameras record data about when a picture was taken and what |
| 10 | camera was used. Office documents like pdf or Office automatically adds | 10 | camera was used. Office documents like pdf or Office automatically adds |
| 11 | author and company information to documents and spreadsheets. | 11 | author and company information to documents and spreadsheets. |
| 12 | Maybe you don't want to disclose those informations on the web. | 12 | Maybe you don't want to disclose those information on the web. |
| 13 | 13 | ||
| 14 | WARNING : | 14 | WARNING : |
| 15 | Mat only remove metadata from your files, it does not anonymise their | 15 | Mat only remove metadata from your files, it does not anonymise their |
| @@ -27,7 +27,7 @@ DEPENDENCIES: | |||
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | OPTIONALS DEPENDENCIES: | 29 | OPTIONALS DEPENDENCIES: |
| 30 | python-poppler and python-poppler : for pdf support | 30 | python-poppler and python-cairo : for pdf support |
| 31 | python-mutagen : for massive audio format support | 31 | python-mutagen : for massive audio format support |
| 32 | 32 | ||
| 33 | 33 | ||
| @@ -110,6 +110,29 @@ SUPPORTED FORMAT: | |||
| 110 | method : removal of harmful fields is done with mutagen | 110 | method : removal of harmful fields is done with mutagen |
| 111 | 111 | ||
| 112 | 112 | ||
| 113 | HOW TO IMPLEMENT NEW FORMATS: | ||
| 114 | 1. add the format's mimetype to the STRIPPER list in mat.py | ||
| 115 | 2. inherit the GenericParser class (parser.py) | ||
| 116 | 3. read the parser.py module | ||
| 117 | 4. implement at least these three methods: | ||
| 118 | - is_clean(self) | ||
| 119 | - remove_all(self) | ||
| 120 | - get_meta(self) | ||
| 121 | 5. don't forget to call the do_backup() method when necessary | ||
| 122 | |||
| 123 | ALTERNATIVES AND COMPLEMENTS: | ||
| 124 | for images: | ||
| 125 | exiftool (perl) : metadata manipulation | ||
| 126 | exiv2 (C++) : metadata manipulation | ||
| 127 | graphicsmagick (a fork from imagemagick) : cli image manipulation | ||
| 128 | |||
| 129 | for pdf: | ||
| 130 | pdfminer (python) : pdf manipulation | ||
| 131 | |||
| 132 | other tools: | ||
| 133 | an hexadecimal editor | ||
| 134 | |||
| 135 | |||
| 113 | LICENSE: | 136 | LICENSE: |
| 114 | This program is free software; you can redistribute it and/or modify | 137 | This program is free software; you can redistribute it and/or modify |
| 115 | it under the terms of the GNU General Public License version 2 as | 138 | it under the terms of the GNU General Public License version 2 as |
| @@ -128,7 +151,7 @@ LICENSE: | |||
| 128 | 151 | ||
| 129 | THANKS: | 152 | THANKS: |
| 130 | Mat would not exist without : | 153 | Mat would not exist without : |
| 131 | - the Google SUmmer of Code, | 154 | - the Google Summer of Code, |
| 132 | - the Python language | 155 | - the Python language |
| 133 | - the amazing (and messy) hachoir library, | 156 | - the amazing (and messy) hachoir library, |
| 134 | - poppler and cairo's python bindings, | 157 | - poppler and cairo's python bindings, |
