-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathufraw-mime.xml
218 lines (195 loc) · 7.15 KB
/
ufraw-mime.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-ufraw">
<sub-class-of type="text/xml"/>
<comment>UFRaw ID file</comment>
<acronym>UFRaw</acronym>
<expanded-acronym>Unidentified Flying Raw</expanded-acronym>
<glob pattern="*.ufraw"/>
</mime-type>
<mime-type type="image/x-dcraw">
<comment>Digital raw image</comment>
<acronym>DCRaw</acronym>
<expanded-acronym>Digital Camera Raw</expanded-acronym>
</mime-type>
<mime-type type="image/x-adobe-dng">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Adobe Digital Negative</comment>
<acronym>DNG</acronym>
<expanded-acronym>Digital Negative</expanded-acronym>
<glob pattern="*.dng"/>
</mime-type>
<!-- Canon has 2 format: CRW and CR2 !-->
<!-- CRW is easy !-->
<mime-type type="image/x-canon-crw">
<sub-class-of type="image/x-dcraw"/>
<comment>Canon raw image</comment>
<acronym>CRW</acronym>
<expanded-acronym>Canon RaW</expanded-acronym>
<magic priority="50">
<match value="II\x1a\x00\x00\x00HEAPCCDR" type="string" offset="0"/>
</magic>
<glob pattern="*.crw"/>
</mime-type>
<!-- CR2 is a TIFF !-->
<mime-type type="image/x-canon-cr2">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Canon raw image</comment>
<acronym>CR2</acronym>
<expanded-acronym>Canon Raw 2</expanded-acronym>
<glob pattern="*.cr2"/>
</mime-type>
<mime-type type="image/x-fuji-raf">
<sub-class-of type="image/x-dcraw"/>
<comment>Fuji raw image</comment>
<acronym>RAF</acronym>
<expanded-acronym>RAw Format</expanded-acronym>
<magic priority="50">
<match value="FUJIFILMCCD-RAW " type="string" offset="0"/>
</magic>
<glob pattern="*.raf"/>
</mime-type>
<mime-type type="image/x-kodak-dcr">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Kodak raw image</comment>
<acronym>DCR</acronym>
<expanded-acronym>Digital Camera Raw</expanded-acronym>
<glob pattern="*.dcr"/>
</mime-type>
<mime-type type="image/x-kodak-k25">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Kodak raw image</comment>
<acronym>K25</acronym>
<expanded-acronym>Kodak DC25</expanded-acronym>
<glob pattern="*.k25"/>
</mime-type>
<mime-type type="image/x-kodak-kdc">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Kodak raw image</comment>
<acronym>KDC</acronym>
<expanded-acronym>Kodak Digital Camera</expanded-acronym>
<glob pattern="*.kdc"/>
</mime-type>
<mime-type type="image/x-minolta-mrw">
<sub-class-of type="image/x-dcraw"/>
<comment>Minolta raw image</comment>
<acronym>MRW</acronym>
<expanded-acronym>Minolta RaW</expanded-acronym>
<magic priority="50">
<match value="\x00MRM" type="string" offset="0"/>
</magic>
<glob pattern="*.mrw" />
</mime-type>
<mime-type type="image/x-nikon-nef">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Nikon raw image</comment>
<acronym>NEF</acronym>
<expanded-acronym>Nikon Electronic Format</expanded-acronym>
<glob pattern="*.nef"/>
</mime-type>
<mime-type type="image/x-nikon-nrw">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Nikon raw image</comment>
<acronym>NRW</acronym>
<expanded-acronym>Nikon RaW</expanded-acronym>
<glob pattern="*.nrw"/>
</mime-type>
<mime-type type="image/x-olympus-orf">
<sub-class-of type="image/x-dcraw"/>
<comment>Olympus raw image</comment>
<acronym>ORF</acronym>
<expanded-acronym>Olympus Raw Format</expanded-acronym>
<magic priority="50">
<!-- an ORF file is basically a TIFF file with a non standard !-->
<!-- header IIRO which is not nice since it is only composed !-->
<!-- of ASCII codes. Fortunately, the TIFF header is followed !-->
<!-- by the offset of the first TIFF ifd which is always !-->
<!-- 0x00000008 (Little endian) for an ORF !-->
<match value="IIRO\x08\x00\x00\x00" type="string" offset="0"/>
</magic>
<glob pattern="*.orf"/>
</mime-type>
<mime-type type="image/x-panasonic-raw">
<sub-class-of type="image/x-dcraw"/>
<comment>Panasonic raw image</comment>
<acronym>RAW</acronym>
<expanded-acronym>Panasonic RAW</expanded-acronym>
<magic priority="50">
<!-- Some kind of TIFF file with a non-standard version in prefix !-->
<match value="IIU\x00\x08\x00\x00\x00" type="string" offset="0"/>
</magic>
<glob pattern="*.raw"/>
</mime-type>
<mime-type type="image/x-panasonic-rw2">
<_comment>Panasonic raw2 image</_comment>
<acronym>RW2</acronym>
<expanded-acronym>Panasonic RaW format 2</expanded-acronym>
<sub-class-of type="image/x-dcraw"/>
<magic priority="50">
<!-- Some kind of TIFF file with a non-standard version in prefix !-->
<match value="IIU\x00\x18\x00\x00\x00" type="string" offset="0"/>
</magic>
<glob pattern="*.rw2"/>
</mime-type>
<mime-type type="image/x-pentax-pef">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<comment>Pentax raw image</comment>
<acronym>PEF</acronym>
<expanded-acronym>Pentax Electronic Format</expanded-acronym>
<glob pattern="*.pef"/>
</mime-type>
<mime-type type="image/x-sigma-x3f">
<sub-class-of type="image/x-dcraw"/>
<comment>Sigma raw image</comment>
<acronym>X3F</acronym>
<expanded-acronym>X3 Foveon</expanded-acronym>
<magic priority="50">
<!-- The header is "FOVb" (Foveon) !-->
<match value="FOVb" type="string" offset="0">
<!-- Followed by a 32bit LSB specifying the version number (major.minor) !-->
<match value="0x00FF00FF" type="little32" offset="4" mask="0xFF00FF00" />
</match>
</magic>
<glob pattern="*.x3f"/>
</mime-type>
<mime-type type="image/x-sony-srf">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<acronym>SRF</acronym>
<expanded-acronym>Sony Raw Format</expanded-acronym>
<comment>Sony raw image</comment>
<glob pattern="*.srf"/>
</mime-type>
<mime-type type="image/x-sony-sr2">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<acronym>SR2</acronym>
<expanded-acronym>Sony Raw format 2</expanded-acronym>
<comment>Sony raw image</comment>
<glob pattern="*.sr2"/>
</mime-type>
<mime-type type="image/x-sony-arw">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<acronym>ARW</acronym>
<expanded-acronym>Alpha RaW</expanded-acronym>
<comment>Sony raw image</comment>
<glob pattern="*.arw"/>
</mime-type>
<mime-type type="image/x-samsung-srw">
<sub-class-of type="image/x-dcraw"/>
<sub-class-of type="image/tiff"/>
<acronym>SRW</acronym>
<expanded-acronym>Samsung RaW</expanded-acronym>
<comment>Samsung raw image</comment>
<glob pattern="*.srw"/>
</mime-type>
</mime-info>