summaryrefslogtreecommitdiff
path: root/lib/FORMATS
diff options
context:
space:
mode:
Diffstat (limited to 'lib/FORMATS')
-rw-r--r--lib/FORMATS94
1 files changed, 94 insertions, 0 deletions
diff --git a/lib/FORMATS b/lib/FORMATS
new file mode 100644
index 0000000..c497524
--- /dev/null
+++ b/lib/FORMATS
@@ -0,0 +1,94 @@
1<xml>
2 <format>
3 <name>Portable Network Graphics</name>
4 <extension>.png</extension>
5 <support>full</support>
6 <metadata>textual metadata + date</metadata>
7 <method>removal of harmful fields is done with hachoir</method>
8 </format>
9
10 <format>
11 <name>Jpeg</name>
12 <extension>.jpeg, .jpg</extension>
13 <support>full</support>
14 <metadata>comment + exif/photoshop/adobe</metadata>
15 <method>removal of harmful fields is done with hachoir</method>
16 </format>
17
18 <format>
19 <name>Open Document</name>
20 <extension>.odt, .odx, .ods, ...</extension>
21 <support>full</support>
22 <metadata>a meta.xml file</metadata>
23 <method>removal of the meta.xml file</method>
24 </format>
25
26 <format>
27 <name>Office Openxml</name>
28 <extension>.docx, .pptx, .xlsx, ...</extension>
29 <support>full</support>
30 <metadata>a docProps folder containings xml metadata files</metadata>
31 <method>removal of the docProps folder</method>
32 </format>
33
34 <format>
35 <name>Portable Document Fileformat</name>
36 <extension>.pdf</extension>
37 <support>full</support>
38 <metadata>a lot</metadata>
39 <method>rendering of the pdf file on a cairo surface with the help of
40 poppler in order to remove all the internal metadata,
41 then removal of the remaining metadata fields of the pdf itself with
42 pdfrw (the next version of python-cairo will support metadata,
43 so we should get rid of pdfrw)</method>
44 </format>
45
46 <format>
47 <name>Tape ARchive</name>
48 <extension>.tar, .tar.bz2, .tar.gz</extension>
49 <support>full</support>
50 <metadata>metadata from the file itself, metadata from the file contained
51 into the archive, and metadata added by tar to the file at then
52 creation of the archive</metadata>
53 <method>extraction of each file, treatement of the file, add treated file
54 to a new archive, right before the add, remove the metadata added by tar
55 itself. When the new archive is complete, remove all his metadata.</method>
56 </format>
57
58 <format>
59 <name>Zip</name>
60 <extension>.zip</extension>
61 <support>.partial</support>
62 <metadata>metadata from the file itself, metadata from the file contained
63 into the archive, and metadata added by zip to the file when added to
64 the archive.
65 </metadata>
66 <method>extraction of each file, treatement of the file, add treated file
67 to a new archive. When the new archive is complete, remove all his metadata</method>
68 <remaining>metadata added by zip itself to internal files</remaining>
69 </format>
70
71 <format>
72 <name>MPEG Audio</name>
73 <extension>.mp3, .mp2, .mp1</extension>
74 <support>full</support>
75 <metadata>id3</metadata>
76 <method>removal of harmful fields is done with hachoir</method>
77 </format>
78
79 <format>
80 <name>Ogg Vorbis</name>
81 <extension>.ogg</extension>
82 <support>full</support>
83 <metadata>Vorbis</metadata>
84 <method>removal of harmful fields is done with mutagen</method>
85 </format>
86
87 <format>
88 <name>Free Lossless Audio Codec</name>
89 <extension>.flac</extension>
90 <support>full</support>
91 <metadata>Flac, Vorbis</metadata>
92 <method>removal of harmful fields is done with mutagen</method>
93 </format>
94</xml>