File: crw-mapping.html

package info (click to toggle)
exiv2 0.10-1.4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 13,124 kB
  • ctags: 5,665
  • sloc: cpp: 20,697; xml: 15,118; sh: 10,526; ansic: 1,887; makefile: 367; awk: 64; python: 36
file content (222 lines) | stat: -rw-r--r-- 6,063 bytes parent folder | download | duplicates (2)
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
219
220
221
222
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!--*- sgml -*-->
<html>
<head>
  <title>Exiv2 - Exif and Iptc metadata manipulation library and tools</title>
  <meta name="Author" content="Andreas Huggel">
  <meta name="Description" content="Open source Exif and Iptc metadata library and tools with Exif MakerNote and read/write support">
  <meta name="Keywords" content="exif, iptc, metadata, makernote, manipulation, manipulate, read and write, write, change, update, jpeg, jpg, ifd, image file directory, thumbnail, thumbnails, tag, tags, canon, fujifilm, sigma/foveon, nikon, open source, opensource, huggel, andreas, andreas huggel">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <link type="text/css" rel="stylesheet" href="../include/default.css">
  <link type="text/css" rel="stylesheet" href="../include/sortabletable.css">
  <link type="text/css" rel="stylesheet" href="doxygen.css">
  <link href="tabs.css" rel="stylesheet" type="text/css">
  <script type="text/javascript" src="../include/sortabletable.js"></script>
  <script type="text/javascript">
  <!--
  var preload = new Array('../include/blank.png', 
                          '../include/ascending.png', 
                          '../include/descending.png');
  var loader = new Array();
  for(var i = 0; i < preload.length; i++) {
    loader[i] = new Image();
    loader[i].src = preload[i];
  }
  //-->
  </script>
</head>
<body>

<div id="content">
<!-- Main index from Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul>
</div>

<div class="tabs">
  <ul>
    <li><a href="crw-mapping.html"><span>Canon CRW</span></a></li> 
  </ul>
</div>

<h1>Exiv2 supported Raw File Formats</h1>

<h2>Canon CRW files: Mapping of CIFF to Exif tags</h2>
<div>

<p> CRW files are encoded in CIFF format. CIFF format consists of a
header and a hierarchy of directories and entries, similar to TIFF
(but easier to deal with). In Exiv2, there is no CRW or CIFF type of
metadata. Instead, known and suitable CIFF tags are mapped to Exif
metadata, but not all CIFF tags are mapped. Exiv2 reads Canon CRW
files, parses the CIFF structure and maps known and suitable tags to
Exif metadata. Writing to CRW files entails a reverse mapping from
Exif metadata to the CIFF tags. This way it is possible, e.g., to
adjust the date when the image was taken by reading the CRW file,
modifying Exif.Photo.DateTimeOriginal and writing the Exif data back
to a CRW file. Tags for which there is no mapping defined are ignored
during both, reading and writing.</p>

<p>Reference: <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/canon_raw.html">The Canon RAW (CRW) File Format</a> by Phil Harvey.</p>

<p>Exiv2 supports the mappings listed in the table below.</p> 
<p>Click on a column header to sort the table.</p>

</div>
<table class="ReportTable" id="CrwMapping" cellspacing="0">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>Exif Key</th>
<th align="right">CRW Tag</th>
<th align="right">CRW Directory</th>
</tr></thead>
<tbody>
<tr class="OddRow">
<td>Mapped to the image comment</td>
<td>0x0805</td>
<td>0x300a</td>
</tr>
<tr class="EvenRow">
<td>Exif.Image.Make <br>
Exif.Image.Model</td>
<td>0x080a</td>
<td>0x2807</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.FirmwareVersion</td>
<td>0x080b</td>
<td>0x3004</td>
</tr>
<tr class="EvenRow">
<td>Exif.Canon.OwnerName</td>
<td>0x0810</td>
<td>0x2807</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.ImageType</td>
<td>0x0815</td>
<td>0x2804</td>
</tr>
<tr class="EvenRow">
<td>Exif.Canon.0x0002</td>
<td>0x1029</td>
<td>0x300b</td>
</tr>
<tr class="OddRow">
<td>Exif.CanonCs2.* <br>
Exif.Photo.FNumber (not used on write) <br>
Exif.Photo.ExposureTime (not used on write)</td>
<td>0x102a</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.CanonCs1.*</td>
<td>0x102d</td>
<td>0x300b</td>
</tr>
<tr class="OddRow">
<td>Exif.CanonCf.*</td>
<td>0x1033</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.Canon.PictureInfo</td>
<td>0x1038</td>
<td>0x300b</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.WhiteBalanceTable</td>
<td>0x10a9</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.Photo.ColorSpace</td>
<td>0x10b4</td>
<td>0x300b</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.0x00b5</td>
<td>0x10b5</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.Canon.0x00c0</td>
<td>0x10c0</td>
<td>0x300b</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.0x00c1</td>
<td>0x10c1</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.Photo.SubjectDistance</td>
<td>0x1807</td>
<td>0x3002</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.SerialNumber</td>
<td>0x180b</td>
<td>0x3004</td>
</tr>
<tr class="EvenRow">
<td>Exif.Photo.DateTimeOriginal</td>
<td>0x180e</td>
<td>0x300a</td>
</tr>
<tr class="OddRow">
<td>Exif.Image.Orientation <br>
Exif.Photo.PixelXDimension <br>
Exif.Photo.PixelYDimension</td>
<td>0x1810</td>
<td>0x300a</td>
</tr>
<tr class="EvenRow">
<td>Exif.Canon.ImageNumber</td>
<td>0x1817</td>
<td>0x300a</td>
</tr>
<tr class="OddRow">
<td>Exif.Canon.0x0015</td>
<td>0x183b</td>
<td>0x300b</td>
</tr>
<tr class="EvenRow">
<td>Exif.Thumbnail.Compression <br>
Exif.Thumbnail.JPEGInterchangeFormat <br>
Exif.Thumbnail.JPEGInterchangeFormatLength</td>
<td>0x2008</td>
<td>root</td>
</tr>
</tbody>
</table><script type="text/javascript">
  //
  var CrwMapping = new SortableTable(
    document.getElementById("CrwMapping"),
    ["String", "String", "String"]
  );
  CrwMapping.onsort = function () { 
	var rows = CrwMapping.tBody.rows;
	var l = rows.length;
	for (var i = 0; i < l; i++) {
		removeClassName(rows[i], i % 2 ? "OddRow" : "EvenRow");
		addClassName(rows[i], i % 2 ? "EvenRow" : "OddRow");
	}
  };
  //
</script>

</div>
<!-- closes content -->

</body>
</html>