1 | <?php |
---|
2 | |
---|
3 | /****************************************************************************** |
---|
4 | * |
---|
5 | * Filename: EXIF_Tags.php |
---|
6 | * |
---|
7 | * Description: Provides definitions of the tags for TIFF, EXIF, Interoperability, |
---|
8 | * GPS, Meta, Kodak Special Effects and Kodak Borders IFD's. |
---|
9 | * |
---|
10 | * Author: Evan Hunter |
---|
11 | * |
---|
12 | * Date: 1/8/2004 |
---|
13 | * |
---|
14 | * Project: PHP JPEG Metadata Toolkit |
---|
15 | * |
---|
16 | * Revision: 1.11 |
---|
17 | * |
---|
18 | * Changes: 1.00 -> 1.11 : Added TIFF compression types ZIP, LZW and JPEG |
---|
19 | * Added embedded XMP tag |
---|
20 | * Added embedded Photoshop IRB tag |
---|
21 | * Fixed GPS tags after testing |
---|
22 | * |
---|
23 | * URL: http://electronics.ozhiker.com |
---|
24 | * |
---|
25 | * Copyright: Copyright " . $auteur . " 2004 |
---|
26 | * |
---|
27 | * License: This file is part of the PHP JPEG Metadata Toolkit. |
---|
28 | * |
---|
29 | * The PHP JPEG Metadata Toolkit is free software; you can |
---|
30 | * redistribute it and/or modify it under the terms of the |
---|
31 | * GNU General Public License as published by the Free Software |
---|
32 | * Foundation; either version 2 of the License, or (at your |
---|
33 | * option) any later version. |
---|
34 | * |
---|
35 | * The PHP JPEG Metadata Toolkit is distributed in the hope |
---|
36 | * that it will be useful, but WITHOUT ANY WARRANTY; without |
---|
37 | * even the implied warranty of MERCHANTABILITY or FITNESS |
---|
38 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
39 | * for more details. |
---|
40 | * |
---|
41 | * You should have received a copy of the GNU General Public |
---|
42 | * License along with the PHP JPEG Metadata Toolkit; if not, |
---|
43 | * write to the Free Software Foundation, Inc., 59 Temple |
---|
44 | * Place, Suite 330, Boston, MA 02111-1307 USA |
---|
45 | * |
---|
46 | * If you require a different license for commercial or other |
---|
47 | * purposes, please contact the author: evan@ozhiker.com |
---|
48 | * |
---|
49 | ******************************************************************************/ |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | /****************************************************************************** |
---|
57 | * Global Variable: IFD_Tag_Definitions |
---|
58 | * |
---|
59 | * Contents: This array defines the fields for the TIFF, EXIF, Interoperability, |
---|
60 | * GPS, Meta, Kodak Special Effects and Kodak Borders IFD's. |
---|
61 | * It is indexed by the IFD Type, then the Tag number |
---|
62 | * |
---|
63 | ******************************************************************************/ |
---|
64 | |
---|
65 | $GLOBALS[ "IFD_Tag_Definitions" ] = array( |
---|
66 | |
---|
67 | |
---|
68 | /*****************************************************************************/ |
---|
69 | /* */ |
---|
70 | /* TIFF Tags */ |
---|
71 | /* */ |
---|
72 | /*****************************************************************************/ |
---|
73 | |
---|
74 | |
---|
75 | "TIFF" => array( |
---|
76 | |
---|
77 | |
---|
78 | 256 => array( 'Name' => "Image Width", |
---|
79 | 'Description' => "Width of image in pixels (number of columns)", |
---|
80 | 'Type' => "Numeric", |
---|
81 | 'Units' => "pixels" ), |
---|
82 | |
---|
83 | 257 => array( 'Name' => "Image Length", |
---|
84 | 'Description' => "Height of image in pixels (number of rows)", |
---|
85 | 'Type' => "Numeric", |
---|
86 | 'Units' => "pixels" ), |
---|
87 | |
---|
88 | 258 => array( 'Name' => "Bits Per Sample", |
---|
89 | 'Description' => "Number of bits recorded per sample (a sample is usually one colour (Red, Green or Blue) of one pixel)", |
---|
90 | 'Type' => "Numeric", |
---|
91 | 'Units' => "bits ( for each colour component )" ), |
---|
92 | |
---|
93 | |
---|
94 | 259 => array( 'Name' => "Compression", |
---|
95 | 'Description' => "Specifies what type of compression is used 1 = uncompressed, 6 = JPEG compression (thumbnails only), Other = reserved", |
---|
96 | 'Type' => "Lookup", |
---|
97 | 1 => "Uncompressed", |
---|
98 | 5 => "LZW Compression", |
---|
99 | 6 => "Thumbnail compressed with JPEG compression", |
---|
100 | 7 => "JPEG Compression", |
---|
101 | 8 => "ZIP Compression" ), // Change: Added TIFF compression types as of version 1.11 |
---|
102 | |
---|
103 | 262 => array( 'Name' => "Photometric Interpretation", |
---|
104 | 'Description' => "Specifies Pixel Composition - 0 or 1 = monochrome, 2 = RGB, 3 = Palatte Colour, 4 = Transparency Mask, 6 = YCbCr", |
---|
105 | 'Type' => "Lookup", |
---|
106 | 2 => "RGB (Red Green Blue)", |
---|
107 | 6 => "YCbCr (Luminance, Chroma minus Blue, and Chroma minus Red)" ), |
---|
108 | |
---|
109 | 274 => array( 'Name' => "Orientation", |
---|
110 | 'Description' => "Specifies the orientation of the image.\n |
---|
111 | 1 = Row 0 top, column 0 left\n |
---|
112 | 2 = Row 0 top, column 0 right\n |
---|
113 | 3 = Row 0 bottom, column 0 right\n |
---|
114 | 4 = Row 0 bottom, column 0 left\n |
---|
115 | 5 = Row 0 left, column 0 top\n |
---|
116 | 6 = Row 0 right, column 0 top\n |
---|
117 | 7 = Row 0 right, column 0 bottom\n |
---|
118 | 8 = Row 0 left, column 0 bottom", |
---|
119 | 'Type' => "Lookup", |
---|
120 | 1 => "No Rotation, No Flip \n(Row 0 is at the visual top of the image,\n and column 0 is the visual left-hand side)", |
---|
121 | 2 => "No Rotation, Flipped Horizontally \n(Row 0 is at the visual top of the image,\n and column 0 is the visual right-hand side)", |
---|
122 | 3 => "Rotated 180 degrees, No Flip \n(Row 0 is at the visual bottom of the image,\n and column 0 is the visual right-hand side)", |
---|
123 | 4 => "No Rotation, Flipped Vertically \n(Row 0 is at the visual bottom of the image,\n and column 0 is the visual left-hand side)", |
---|
124 | 5 => "Flipped Horizontally, Rotated 90 degrees counter clockwise \n(Row 0 is at the visual left-hand side of of the image,\n and column 0 is the visual top)", |
---|
125 | 6 => "No Flip, Rotated 90 degrees clockwise \n(Row 0 is at the visual right-hand side of of the image,\n and column 0 is the visual top)", |
---|
126 | 7 => "Flipped Horizontally, Rotated 90 degrees clockwise \n(Row 0 is at the visual right-hand side of of the image,\n and column 0 is the visual bottom)", |
---|
127 | 8 => "No Flip, Rotated 90 degrees counter clockwise \n(Row 0 is at the visual left-hand side of of the image,\n and column 0 is the visual bottom)" ), |
---|
128 | 277 => array( 'Name' => "Samples Per Pixel", |
---|
129 | 'Description' => "Number of recorded samples (colours) per pixel - usually 1 for B&W, grayscale, and palette-colour, usually 3 for RGB and YCbCr", |
---|
130 | 'Type' => "Numeric", |
---|
131 | 'Units' => "Components (colours)" ), |
---|
132 | |
---|
133 | 284 => array( 'Name' => "Planar Configuration", |
---|
134 | 'Description' => "Specifies whether pixel components are recorded in chunky or planar format - 1 = Chunky, 2 = Planar", |
---|
135 | 'Type' => "Lookup", |
---|
136 | 1 => "Chunky Format", |
---|
137 | 2 => "Planar Format" ), |
---|
138 | |
---|
139 | 530 => array( 'Name' => "YCbCr Sub-Sampling", |
---|
140 | 'Description' => "Specifies ratio of chrominance to luminance components - [2, 1] = YCbCr4:2:2, [2, 2] = YCbCr4:2:0", |
---|
141 | 'Type' => "Special" ), |
---|
142 | |
---|
143 | |
---|
144 | 531 => array( 'Name' => "YCbCr Positioning", |
---|
145 | 'Description' => "Specifies location of chrominance and luminance components - 1 = centered, 2 = co-sited", |
---|
146 | 'Type' => "Lookup", |
---|
147 | 1 => "Chrominance components Centred in relation to luminance components", |
---|
148 | 2 => "Chrominance and luminance components Co-Sited" ), |
---|
149 | |
---|
150 | |
---|
151 | 282 => array( 'Name' => "X Resolution", |
---|
152 | 'Description' => "Number of columns (pixels) per \'ResolutionUnit\'", |
---|
153 | 'Type' => "Numeric", |
---|
154 | 'Units'=> "pixels per 'Resolution Unit' " ), |
---|
155 | |
---|
156 | 283 => array( 'Name' => "Y Resolution", |
---|
157 | 'Description' => "Number of rows (pixels) per \'ResolutionUnit\'", |
---|
158 | 'Type' => "Numeric", |
---|
159 | 'Units'=> "pixels per 'Resolution Unit' " ), |
---|
160 | |
---|
161 | 296 => array( 'Name' => "Resolution Unit", |
---|
162 | 'Description' => "Units for measuring XResolution and YResolution - 1 = No units, 2 = Inches, 3 = Centimetres", |
---|
163 | 'Type' => "Lookup", |
---|
164 | 2 => "Inches", |
---|
165 | 3 => "Centimetres" ), |
---|
166 | |
---|
167 | 273 => array( 'Name' => "Strip Offsets", |
---|
168 | 'Type' => "Numeric", |
---|
169 | 'Units'=> "bytes offset" ), |
---|
170 | |
---|
171 | 278 => array( 'Name' => "Rows Per Strip", |
---|
172 | 'Type' => "Numeric", |
---|
173 | 'Units'=> "rows" ), |
---|
174 | |
---|
175 | 279 => array( 'Name' => "Strip Byte Counts", |
---|
176 | 'Type' => "Numeric", |
---|
177 | 'Units'=> "bytes" ), |
---|
178 | |
---|
179 | 513 => array( 'Name' => "Exif Thumbnail (JPEG Interchange Format)", |
---|
180 | 'Type' => "Special" ), |
---|
181 | |
---|
182 | 514 => array( 'Name' => "Exif Thumbnail Length (JPEG Interchange Format Length)", |
---|
183 | 'Type' => "Numeric", |
---|
184 | 'Units'=> "bytes" ), |
---|
185 | |
---|
186 | 301 => array( 'Name' => "Transfer Function", |
---|
187 | 'Type' => "Numeric", |
---|
188 | 'Units'=> "" ), |
---|
189 | |
---|
190 | 318 => array( 'Name' => "White Point Chromaticity", |
---|
191 | 'Type' => "Numeric", |
---|
192 | 'Units'=> "(x,y coordinates on a 1931 CIE xy chromaticity diagram)" ), |
---|
193 | |
---|
194 | 319 => array( 'Name' => "Primary Chromaticities", |
---|
195 | 'Type' => "Numeric", |
---|
196 | 'Units'=> "(Red x,y, Green x,y, Blue x,y coordinates on a 1931 CIE xy chromaticity diagram)" ), |
---|
197 | |
---|
198 | 529 => array( 'Name' => "YCbCr Coefficients", |
---|
199 | 'Description' => "Transform Coefficients for transformation from RGB to YCbCr", |
---|
200 | 'Type' => "Numeric", |
---|
201 | 'Units'=> "(LumaRed, LumaGreen, LumaBlue [proportions of red, green, and blue in luminance])" ), |
---|
202 | |
---|
203 | 532 => array( 'Name' => "Reference Black point and White point", |
---|
204 | 'Type' => "Numeric", |
---|
205 | 'Units'=> "(R or Y White Headroom, R or Y Black Footroom, G or Cb White Headroom, G or Cb Black Footroom, B or Cr White Headroom, B or Cr Black Footroom)" ), |
---|
206 | |
---|
207 | 306 => array( 'Name' => "Date and Time", |
---|
208 | 'Type' => "Numeric", |
---|
209 | 'Units'=> " (Format: YYYY:MM:DD HH:mm:SS)" ), |
---|
210 | |
---|
211 | 270 => array( 'Name' => "Image Description", |
---|
212 | 'Type' => "String" ), |
---|
213 | |
---|
214 | 271 => array( 'Name' => "Make (Manufacturer)", |
---|
215 | 'Type' => "String" ), |
---|
216 | |
---|
217 | 272 => array( 'Name' => "Model", |
---|
218 | 'Type' => "String" ), |
---|
219 | |
---|
220 | 305 => array( 'Name' => "Software or Firmware", |
---|
221 | 'Type' => "String" ), |
---|
222 | |
---|
223 | 315 => array( 'Name' => "Artist Name", |
---|
224 | 'Type' => "String" ), |
---|
225 | |
---|
226 | 700 => array( 'Name' => "Embedded XMP Block", // Change: Added embedded XMP as of version 1.11 |
---|
227 | 'Type' => "XMP" ), |
---|
228 | |
---|
229 | 33432 => array( 'Name' => "Copyright Information", |
---|
230 | 'Type' => "String" ), |
---|
231 | |
---|
232 | 34665 => array( 'Name' => "EXIF Image File Directory (IFD)", |
---|
233 | 'Type' => "SubIFD", |
---|
234 | 'Tags Name' => "EXIF" ), |
---|
235 | |
---|
236 | 33723 => array( 'Name' => "IPTC Records", |
---|
237 | 'Type' => "IPTC" ), |
---|
238 | |
---|
239 | 34377 => array( 'Name' => "Embedded Photoshop IRB", // Change: Added embedded IRB as of version 1.11 |
---|
240 | 'Type' => "IRB" ), |
---|
241 | |
---|
242 | 34853 => array( 'Name' => "GPS Info Image File Directory (IFD)", // Change: Moved GPS IFD tag to correct location as of version 1.11 |
---|
243 | 'Type' => "SubIFD", |
---|
244 | 'Tags Name' => "GPS" ), |
---|
245 | |
---|
246 | 50341 => array( 'Name' => "Print Image Matching Info", |
---|
247 | 'Type' => "PIM" ), |
---|
248 | |
---|
249 | ), |
---|
250 | |
---|
251 | |
---|
252 | /*****************************************************************************/ |
---|
253 | /* */ |
---|
254 | /* EXIF Tags */ |
---|
255 | /* */ |
---|
256 | /*****************************************************************************/ |
---|
257 | |
---|
258 | |
---|
259 | 'EXIF' => array ( |
---|
260 | |
---|
261 | // Exif IFD |
---|
262 | 36864 => array( 'Name' => "Exif Version", |
---|
263 | 'Type' => "String" ), |
---|
264 | |
---|
265 | 40965 => array( 'Name' => "Interoperability Image File Directory (IFD)", |
---|
266 | 'Type' => "SubIFD", |
---|
267 | 'Tags Name' => "Interoperability" ), |
---|
268 | |
---|
269 | // Change: removed GPS IFD tag from here as it was incorrect location - as of version 1.11 |
---|
270 | |
---|
271 | 40960 => array( 'Name' => "FlashPix Version", |
---|
272 | 'Type' => "String" ), |
---|
273 | |
---|
274 | 40961 => array( 'Name' => "Colour Space", |
---|
275 | 'Type' => "Lookup", |
---|
276 | 1 => "sRGB", |
---|
277 | 0xFFFF => "Uncalibrated" ), |
---|
278 | |
---|
279 | 40962 => array( 'Name' => "Pixel X Dimension", |
---|
280 | 'Type' => "Numeric", |
---|
281 | 'Units'=> "pixels" ), |
---|
282 | |
---|
283 | 40963 => array( 'Name' => "Pixel Y Dimension", |
---|
284 | 'Type' => "Numeric", |
---|
285 | 'Units' => "pixels" ), |
---|
286 | |
---|
287 | 37121 => array( 'Name' => "Components Configuration", |
---|
288 | 'Type' => "Special" ), |
---|
289 | |
---|
290 | 37122 => array( 'Name' => "Compressed Bits Per Pixel", |
---|
291 | 'Type' => "Numeric", |
---|
292 | 'Units' => "bits" ), |
---|
293 | |
---|
294 | 37500 => array( 'Name' => "Maker Note", |
---|
295 | 'Type' => "Maker Note" ), |
---|
296 | |
---|
297 | 37510 => array( 'Name' => "User Comment", |
---|
298 | 'Type' => "Character Coded String" ), |
---|
299 | |
---|
300 | 40964 => array( 'Name' => "Related Sound File", |
---|
301 | 'Type' => "String" ), |
---|
302 | |
---|
303 | 36867 => array( 'Name' => "Date and Time of Original", |
---|
304 | 'Type' => "String", |
---|
305 | 'Units' => " (Format: YYYY:MM:DD HH:mm:SS)" ), |
---|
306 | |
---|
307 | 36868 => array( 'Name' => "Date and Time when Digitized", |
---|
308 | 'Type' => "String", |
---|
309 | 'Units' => " (Format: YYYY:MM:DD HH:mm:SS)" ), |
---|
310 | |
---|
311 | 37520 => array( 'Name' => "Sub Second Time", |
---|
312 | 'Type' => "String" ), |
---|
313 | |
---|
314 | 37521 => array( 'Name' => "Sub Second Time of Original", |
---|
315 | 'Type' => "String" ), |
---|
316 | |
---|
317 | 37522 => array( 'Name' => "Sub Second Time when Digitized", |
---|
318 | 'Type' => "String" ), |
---|
319 | |
---|
320 | 33434 => array( 'Name' => "Exposure Time", |
---|
321 | 'Type' => "Numeric", |
---|
322 | 'Units' => "seconds" ), |
---|
323 | |
---|
324 | 37377 => array( 'Name' => "APEX Shutter Speed Value (Tv)", |
---|
325 | 'Type' => "Numeric" ), |
---|
326 | |
---|
327 | 37378 => array( 'Name' => "APEX Aperture Value (Av)", |
---|
328 | 'Type' => "Numeric" ), |
---|
329 | |
---|
330 | 37379 => array( 'Name' => "APEX Brightness Value (Bv)", |
---|
331 | 'Type' => "Numeric" ), |
---|
332 | |
---|
333 | 37380 => array( 'Name' => "APEX Exposure Bias Value (Exposure Compensation)", |
---|
334 | 'Type' => "Numeric", |
---|
335 | 'Units' => "EV" ), |
---|
336 | |
---|
337 | 42240 => array( 'Name' => "Gamma Compensation for Playback", |
---|
338 | 'Type' => "Numeric" ), |
---|
339 | |
---|
340 | |
---|
341 | 37381 => array( 'Name' => "APEX Maximum Aperture Value", |
---|
342 | 'Type' => "Numeric" ), |
---|
343 | |
---|
344 | 37382 => array( 'Name' => "Subject Distance", |
---|
345 | 'Type' => "Numeric", |
---|
346 | 'Units' => "metres" ), |
---|
347 | |
---|
348 | 37383 => array( 'Name' => "Metering Mode", |
---|
349 | 'Type' => "Lookup", |
---|
350 | 0 => "Unknown", |
---|
351 | 1 => "Average", |
---|
352 | 2 => "Center Weighted Average", |
---|
353 | 3 => "Spot", |
---|
354 | 4 => "Multi Spot", |
---|
355 | 5 => "Pattern", |
---|
356 | 6 => "Partial", |
---|
357 | 255 => "Other" ), |
---|
358 | |
---|
359 | 37384 => array( 'Name' => "Light Source", |
---|
360 | 'Type' => "Lookup", |
---|
361 | 0 => "Unknown", |
---|
362 | 1 => "Daylight", |
---|
363 | 2 => "Fluorescent", |
---|
364 | 3 => "Tungsten (incandescent light)", |
---|
365 | 4 => "Flash", |
---|
366 | 9 => "Fine weather", |
---|
367 | 10 => "Cloudy weather", |
---|
368 | 11 => "Shade", |
---|
369 | 12 => "Daylight fluorescent (D 5700 7100K)", |
---|
370 | 13 => "Day white fluorescent (N 4600 5400K)", |
---|
371 | 14 => "Cool white fluorescent (W 3900 4500K)", |
---|
372 | 15 => "White fluorescent (WW 3200 3700K)", |
---|
373 | 17 => "Standard light A", |
---|
374 | 18 => "Standard light B", |
---|
375 | 19 => "Standard light C", |
---|
376 | 20 => "D55", |
---|
377 | 21 => "D65", |
---|
378 | 22 => "D75", |
---|
379 | 23 => "D50", |
---|
380 | 24 => "ISO studio tungsten", |
---|
381 | 255 => "Other" ), |
---|
382 | |
---|
383 | 37385 => array( 'Name' => "Flash", |
---|
384 | 'Type' => "Lookup", |
---|
385 | 0 => "Flash did not fire", |
---|
386 | 1 => "Flash fired", |
---|
387 | 5 => "Strobe return light not detected", |
---|
388 | 7 => "Strobe return light detected", |
---|
389 | 9 => "Flash fired, compulsory flash mode", |
---|
390 | 13 => "Flash fired, compulsory flash mode, return light not detected", |
---|
391 | 15 => "Flash fired, compulsory flash mode, return light detected", |
---|
392 | 16 => "Flash did not fire, compulsory flash suppression mode", |
---|
393 | 24 => "Flash did not fire, auto mode", |
---|
394 | 25 => "Flash fired, auto mode", |
---|
395 | 29 => "Flash fired, auto mode, return light not detected", |
---|
396 | 31 => "Flash fired, auto mode, return light detected", |
---|
397 | 32 => "No flash function", |
---|
398 | 65 => "Flash fired, red-eye reduction mode", |
---|
399 | 69 => "Flash fired, red-eye reduction mode, return light not detected", |
---|
400 | 71 => "Flash fired, red-eye reduction mode, return light detected", |
---|
401 | 73 => "Flash fired, compulsory flash mode, red-eye reduction mode", |
---|
402 | 77 => "Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected", |
---|
403 | 79 => "Flash fired, compulsory flash mode, red-eye reduction mode, return light detected", |
---|
404 | 89 => "Flash fired, auto mode, red-eye reduction mode", |
---|
405 | 93 => "Flash fired, auto mode, return light not detected, red-eye reduction mode", |
---|
406 | 95 => "Flash fired, auto mode, return light detected, red-eye reduction mode" ), |
---|
407 | |
---|
408 | 37386 => array( 'Name' => "FocalLength", |
---|
409 | 'Type' => "Numeric", |
---|
410 | 'Units' => "mm" ), |
---|
411 | |
---|
412 | 37396 => array( 'Name' => "Subject Area", |
---|
413 | 'Type' => "Numeric", |
---|
414 | 'Units' => "( Two Values: x,y coordinates, Three Values: x,y coordinates, diameter, Four Values: center x,y coordinates, width, height)" ), |
---|
415 | |
---|
416 | 33437 => array( 'Name' => "Aperture F Number", |
---|
417 | 'Type' => "Numeric" ), |
---|
418 | |
---|
419 | 34850 => array( 'Name' => "Exposure Program", |
---|
420 | 'Type' => "Lookup", |
---|
421 | 0 => "Not defined", |
---|
422 | 1 => "Manual", |
---|
423 | 2 => "Normal program", |
---|
424 | 3 => "Aperture priority", |
---|
425 | 4 => "Shutter priority", |
---|
426 | 5 => "Creative program (biased toward depth of field)", |
---|
427 | 6 => "Action program (biased toward fast shutter speed)", |
---|
428 | 7 => "Portrait mode (for closeup photos with the background out of focus)", |
---|
429 | 8 => "Landscape mode (for landscape photos with the background in focus)" ), |
---|
430 | |
---|
431 | 34852 => array( 'Name' => "Spectral Sensitivity", |
---|
432 | 'Type' => "String" ), |
---|
433 | |
---|
434 | 34855 => array( 'Name' => "ISO Speed Ratings", |
---|
435 | 'Type' => "Numeric" ), |
---|
436 | |
---|
437 | 34856 => array( 'Name' => "Opto-Electronic Conversion Function", |
---|
438 | 'Type' => "Unknown" ), |
---|
439 | |
---|
440 | 41483 => array( 'Name' => "Flash Energy", |
---|
441 | 'Type' => "Numeric", |
---|
442 | 'Units' => "Beam Candle Power Seconds (BCPS)" ), |
---|
443 | |
---|
444 | 41484 => array( 'Name' => "Spatial Frequency Response", |
---|
445 | 'Type' => "Unknown" ), |
---|
446 | |
---|
447 | 41486 => array( 'Name' => "Focal Plane X Resolution", |
---|
448 | 'Type' => "Numeric", |
---|
449 | 'Units' => "pixels per 'Focal Plane Resolution Unit'" ), |
---|
450 | |
---|
451 | 41487 => array( 'Name' => "Focal Plane Y Resolution", |
---|
452 | 'Type' => "Numeric", |
---|
453 | 'Units' => "pixels per 'Focal Plane Resolution Unit'" ), |
---|
454 | |
---|
455 | 41488 => array( 'Name' => "Focal Plane Resolution Unit", |
---|
456 | 'Type' => "Lookup", |
---|
457 | 2 => "Inches", |
---|
458 | 3 => "Centimetres" ), |
---|
459 | |
---|
460 | 41492 => array( 'Name' => "Subject Location", |
---|
461 | 'Type' => "Numeric", |
---|
462 | 'Units' => "(x,y pixel coordinates of subject)" ), |
---|
463 | |
---|
464 | 41493 => array( 'Name' => "Exposure Index", |
---|
465 | 'Type' => "Numeric" ), |
---|
466 | |
---|
467 | 41495 => array( 'Name' => "Sensing Method", |
---|
468 | 'Type' => "Lookup", |
---|
469 | 1 => "Not defined", |
---|
470 | 2 => "One-chip colour area sensor", |
---|
471 | 3 => "Two-chip colour area sensor", |
---|
472 | 4 => "Three-chip colour area sensor", |
---|
473 | 5 => "Colour sequential area sensor", |
---|
474 | 7 => "Trilinear sensor", |
---|
475 | 8 => "Colour sequential linear sensor" ), |
---|
476 | |
---|
477 | 41728 => array( 'Name' => "File Source", |
---|
478 | 'Type' => "Lookup", |
---|
479 | 3 => "Digital Still Camera" ), |
---|
480 | |
---|
481 | 41729 => array( 'Name' => "Scene Type", |
---|
482 | 'Type' => "Lookup", |
---|
483 | 1 => "A directly photographed image" ), |
---|
484 | |
---|
485 | 41730 => array( 'Name' => "Colour Filter Array Pattern", |
---|
486 | 'Type' => "Special" ), |
---|
487 | |
---|
488 | 41985 => array( 'Name' => "Special Processing (Custom Rendered)", |
---|
489 | 'Type' => "Lookup", |
---|
490 | 0 => "Normal process", |
---|
491 | 1 => "Custom process" ), |
---|
492 | |
---|
493 | 41986 => array( 'Name' => "Exposure Mode", |
---|
494 | 'Type' => "Lookup", |
---|
495 | 0 => "Auto exposure", |
---|
496 | 1 => "Manual exposure", |
---|
497 | 2 => "Auto bracket" ), |
---|
498 | |
---|
499 | 41987 => array( 'Name' => "White Balance", |
---|
500 | 'Type' => "Lookup", |
---|
501 | 0 => "Auto white balance", |
---|
502 | 1 => "Manual white balance" ), |
---|
503 | |
---|
504 | 41988 => array( 'Name' => "Digital Zoom Ratio", |
---|
505 | 'Type' => "Numeric", |
---|
506 | 'Units' => " ( Zero = Digital Zoom Not Used )" ), |
---|
507 | |
---|
508 | 41989 => array( 'Name' => "Equivalent Focal Length In 35mm Film", |
---|
509 | 'Type' => "Numeric", |
---|
510 | 'Units' => "mm" ), |
---|
511 | |
---|
512 | 41990 => array( 'Name' => "Scene Capture Type", |
---|
513 | 'Type' => "Lookup", |
---|
514 | 0 => "Standard", |
---|
515 | 1 => "Landscape", |
---|
516 | 2 => "Portrait", |
---|
517 | 3 => "Night scene" ), |
---|
518 | |
---|
519 | 41991 => array( 'Name' => "Gain Control", |
---|
520 | 'Type' => "Lookup", |
---|
521 | 0 => "None", |
---|
522 | 1 => "Low gain up", |
---|
523 | 2 => "High gain up", |
---|
524 | 3 => "Low gain down", |
---|
525 | 4 => "High gain down" ), |
---|
526 | |
---|
527 | 41992 => array( 'Name' => "Contrast", |
---|
528 | 'Type' => "Lookup", |
---|
529 | 0 => "Normal", |
---|
530 | 1 => "Soft", |
---|
531 | 2 => "Hard" ), |
---|
532 | |
---|
533 | 41993 => array( 'Name' => "Saturation", |
---|
534 | 'Type' => "Lookup", |
---|
535 | 0 => "Normal", |
---|
536 | 1 => "Low saturation", |
---|
537 | 2 => "High saturation" ), |
---|
538 | |
---|
539 | 41994 => array( 'Name' => "Sharpness", |
---|
540 | 'Type' => "Lookup", |
---|
541 | 0 => "Normal", |
---|
542 | 1 => "Soft", |
---|
543 | 2 => "Hard" ), |
---|
544 | |
---|
545 | 41995 => array( 'Name' => "Device Setting Description", |
---|
546 | 'Type' => "Unknown" ), |
---|
547 | |
---|
548 | 41996 => array( 'Name' => "Subject Distance Range", |
---|
549 | 'Type' => "Lookup", |
---|
550 | 0 => "Unknown", |
---|
551 | 1 => "Macro", |
---|
552 | 2 => "Close view", |
---|
553 | 3 => "Distant view" ), |
---|
554 | |
---|
555 | 42016 => array( 'Name' => "Image Unique ID", |
---|
556 | 'Type' => "String" ), |
---|
557 | |
---|
558 | |
---|
559 | |
---|
560 | // 11 => "ACDComment", |
---|
561 | // 255 => "NewSubfileType" |
---|
562 | |
---|
563 | |
---|
564 | ), |
---|
565 | |
---|
566 | |
---|
567 | |
---|
568 | |
---|
569 | /*****************************************************************************/ |
---|
570 | /* */ |
---|
571 | /* Interoperability Tags */ |
---|
572 | /* */ |
---|
573 | /*****************************************************************************/ |
---|
574 | |
---|
575 | "Interoperability" => array( |
---|
576 | |
---|
577 | 1 => array( 'Name' => "Interoperability Index", |
---|
578 | 'Type' => "String" ), |
---|
579 | |
---|
580 | 2 => array( 'Name' => "Interoperability Version", |
---|
581 | 'Type' => "String" ), |
---|
582 | |
---|
583 | 4096 => array( 'Name' => "Related Image File Format", |
---|
584 | 'Type' => "String" ), |
---|
585 | |
---|
586 | 4097 => array( 'Name' => "Related Image File Width", |
---|
587 | 'Type' => "Numeric", |
---|
588 | 'Units' => "pixels" ), |
---|
589 | |
---|
590 | 4098 => array( 'Name' => "Related Image File Length", |
---|
591 | 'Type' => "Numeric", |
---|
592 | 'Units' => "pixels " ) |
---|
593 | |
---|
594 | ), |
---|
595 | |
---|
596 | |
---|
597 | /*****************************************************************************/ |
---|
598 | /* */ |
---|
599 | /* GPS Tags */ |
---|
600 | /* */ |
---|
601 | /*****************************************************************************/ |
---|
602 | |
---|
603 | "GPS" => array( |
---|
604 | |
---|
605 | 0 => array( 'Name' => "GPS Tag Version", |
---|
606 | 'Type' => "Numeric", |
---|
607 | 'Units' => "(e.g.: 2.2.0.0 = Version 2.2 )" ), |
---|
608 | |
---|
609 | 1 => array( 'Name' => "North or South Latitude", |
---|
610 | 'Type' => "String" ), |
---|
611 | |
---|
612 | 2 => array( 'Name' => "Latitude", |
---|
613 | 'Type' => "Numeric", |
---|
614 | 'Units' => "(Degrees Minutes Seconds North or South)" ), |
---|
615 | |
---|
616 | 3 => array( 'Name' => "East or West Longitude", |
---|
617 | 'Type' => "String" ), |
---|
618 | |
---|
619 | 4 => array( 'Name' => "Longitude", |
---|
620 | 'Type' => "Numeric", |
---|
621 | 'Units' => "(Degrees Minutes Seconds East or West)" ), |
---|
622 | |
---|
623 | 5 => array( 'Name' => "Altitude Reference", |
---|
624 | 'Type' => "Lookup", |
---|
625 | 0 => "Sea Level", |
---|
626 | 1 => "Sea level reference (negative value)" ), |
---|
627 | |
---|
628 | 6 => array( 'Name' => "Altitude", |
---|
629 | 'Type' => "Numeric", |
---|
630 | 'Units' => "Metres with respect to Altitude Reference" ), |
---|
631 | |
---|
632 | 7 => array( 'Name' => "GPS Time (atomic clock)", |
---|
633 | 'Type' => "Numeric", |
---|
634 | 'Units' => "(Hours Minutes Seconds)" ), |
---|
635 | |
---|
636 | 8 => array( 'Name' => "GPS Satellites used for Measurement", |
---|
637 | 'Type' => "String" ), |
---|
638 | |
---|
639 | 9 => array( 'Name' => "GPS Receiver Status", |
---|
640 | 'Type' => "Lookup", |
---|
641 | 'A' => "Measurement in progress", // Change: Fixed tag values as of version 1.11 |
---|
642 | 'V' => "Measurement Interoperability" ), |
---|
643 | |
---|
644 | 10 => array( 'Name' => "GPS Measurement Mode", |
---|
645 | 'Type' => "Lookup", |
---|
646 | 2 => "2-dimensional measurement", // Change: Fixed tag values as of version 1.11 |
---|
647 | 3 => "3-dimensional measurement" ), |
---|
648 | |
---|
649 | 11 => array( 'Name' => "Measurement Precision", |
---|
650 | 'Type' => "Numeric", |
---|
651 | 'Units' => "(Data Degree of Precision, Horizontal for 2D, Position for 3D)" ), |
---|
652 | |
---|
653 | 12 => array( 'Name' => "Speed Unit", |
---|
654 | 'Type' => "Lookup", |
---|
655 | 'K' => "Kilometers per Hour", // Change: Fixed tag values as of version 1.11 |
---|
656 | 'M' => "Miles per Hour", |
---|
657 | 'N' => "Knots" ), |
---|
658 | |
---|
659 | 13 => array( 'Name' => "Speed of GPS receiver", |
---|
660 | 'Type' => "Numeric", |
---|
661 | 'Units' => "Speed Units" ), |
---|
662 | |
---|
663 | 14 => array( 'Name' => "Reference for direction of Movement", |
---|
664 | 'Type' => "Lookup", // Change: Fixed tag values as of version 1.11 |
---|
665 | 'T' => "True North", |
---|
666 | 'M' => "Magnetic North" ), |
---|
667 | |
---|
668 | 15 => array( 'Name' => "Direction of Movement", |
---|
669 | 'Type' => "Numeric", |
---|
670 | 'Units' => "Degrees relative to Movement Direction Reference" ), |
---|
671 | |
---|
672 | 16 => array( 'Name' => "Reference for Direction of Image", |
---|
673 | 'Type' => "Lookup", |
---|
674 | 'T' => "True North", // Change: Fixed tag values as of version 1.11 |
---|
675 | 'M' => "Magnetic North" ), |
---|
676 | |
---|
677 | 17 => array( 'Name' => "Direction of Image", |
---|
678 | 'Type' => "Numeric", |
---|
679 | 'Units' => "Degrees relative to Image Direction Reference" ), |
---|
680 | |
---|
681 | 18 => array( 'Name' => "Geodetic Survey Datum Used", |
---|
682 | 'Type' => "String" ), |
---|
683 | |
---|
684 | 19 => array( 'Name' => "Destination - North or South Latitude", |
---|
685 | 'Type' => "String" ), |
---|
686 | |
---|
687 | 20 => array( 'Name' => "Latitude of Destination", |
---|
688 | 'Type' => "Numeric", |
---|
689 | 'Units' => "(Degrees Minutes Seconds North or South)" ), |
---|
690 | |
---|
691 | 21 => array( 'Name' => "Destination - East or West Longitude", |
---|
692 | 'Type' => "String" ), |
---|
693 | |
---|
694 | 22 => array( 'Name' => "Longitude of Destination", |
---|
695 | 'Type' => "Numeric", |
---|
696 | 'Units' => "(Degrees Minutes Seconds East or West)" ), |
---|
697 | |
---|
698 | 23 => array( 'Name' => "Reference for Bearing of Destination", |
---|
699 | 'Type' => "Lookup", |
---|
700 | 'T' => "True North", // Change: Fixed tag values as of version 1.11 |
---|
701 | 'M' => "Magnetic North" ), |
---|
702 | |
---|
703 | 24 => array( 'Name' => "Bearing of Destination", |
---|
704 | 'Type' => "Numeric", |
---|
705 | 'Units' => "Degrees relative to Destination Bearing Reference" ), |
---|
706 | |
---|
707 | 25 => array( 'Name' => "Units for Distance to Destination", |
---|
708 | 'Type' => "Lookup", |
---|
709 | 'K' => "Kilometres", // Change: Fixed tag values as of version 1.11 |
---|
710 | 'M' => "Miles", |
---|
711 | 'N' => "Nautical Miles" ), |
---|
712 | |
---|
713 | 26 => array( 'Name' => "Distance to Destination", |
---|
714 | 'Type' => "Numeric", |
---|
715 | 'Units' => "Destination Distance Units" ), |
---|
716 | |
---|
717 | 27 => array( 'Name' => "Name of GPS Processing Method", |
---|
718 | 'Type' => "Character Coded String" ), |
---|
719 | |
---|
720 | 28 => array( 'Name' => "Name of GPS Area", |
---|
721 | 'Type' => "Character Coded String" ), |
---|
722 | |
---|
723 | 29 => array( 'Name' => "GPS Date", |
---|
724 | 'Type' => "Numeric", |
---|
725 | 'Units'=> " (Format: YYYY:MM:DD HH:mm:SS)" ), |
---|
726 | |
---|
727 | 30 => array( 'Name' => "GPS Differential Correction", |
---|
728 | 'Type' => "Lookup", |
---|
729 | 0 => "Measurement without differential correction", |
---|
730 | 1 => "Differential correction applied" ), |
---|
731 | |
---|
732 | ), |
---|
733 | |
---|
734 | |
---|
735 | |
---|
736 | |
---|
737 | |
---|
738 | |
---|
739 | |
---|
740 | |
---|
741 | |
---|
742 | /*****************************************************************************/ |
---|
743 | /* */ |
---|
744 | /* META (App3) Tags */ |
---|
745 | /* */ |
---|
746 | /*****************************************************************************/ |
---|
747 | |
---|
748 | "Meta" => array( |
---|
749 | |
---|
750 | |
---|
751 | 50000 => array( 'Name' => "CaptureDevice.FilmProductCode", |
---|
752 | 'Type' => "Unknown" ), |
---|
753 | |
---|
754 | 50001 => array( 'Name' => "DigitalProcess.ImageSourceEK", |
---|
755 | 'Type' => "Unknown" ), |
---|
756 | |
---|
757 | 50002 => array( 'Name' => "CaptureConditions.PAR", |
---|
758 | 'Type' => "Unknown" ), |
---|
759 | |
---|
760 | 50003 => array( 'Name' => "CaptureDevice.CameraOwner.EK", |
---|
761 | 'Type' => "Character Coded String" ), |
---|
762 | |
---|
763 | 50004 => array( 'Name' => "CaptureDevice.SerialNumber.Camera", |
---|
764 | 'Type' => "Unknown" ), |
---|
765 | |
---|
766 | 50005 => array( 'Name' => "SceneContent.GroupCaption.UserSelectGroupTitle", |
---|
767 | 'Type' => "Unknown" ), |
---|
768 | |
---|
769 | 50006 => array( 'Name' => "OutputOrder.Information.DealerIDNumber", |
---|
770 | 'Type' => "Unknown" ), |
---|
771 | |
---|
772 | 50007 => array( 'Name' => "CaptureDevice.FID", |
---|
773 | 'Type' => "Unknown" ), |
---|
774 | |
---|
775 | 50008 => array( 'Name' => "OutputOrder.Information.EnvelopeNumber", |
---|
776 | 'Type' => "Unknown" ), |
---|
777 | |
---|
778 | 50009 => array( 'Name' => "OutputOrder.SimpleRenderInst.FrameNumber", |
---|
779 | 'Type' => "Unknown" ), |
---|
780 | |
---|
781 | 50010 => array( 'Name' => "CaptureDevice.FilmCategory", |
---|
782 | 'Type' => "Unknown" ), |
---|
783 | |
---|
784 | 50011 => array( 'Name' => "CaptureDevice.FilmGencode", |
---|
785 | 'Type' => "Unknown" ), |
---|
786 | |
---|
787 | 50012 => array( 'Name' => "CaptureDevice.Scanner.ModelAndVersion", |
---|
788 | 'Type' => "Unknown" ), |
---|
789 | |
---|
790 | 50013 => array( 'Name' => "CaptureDevice.FilmSize", |
---|
791 | 'Type' => "Unknown" ), |
---|
792 | |
---|
793 | 50014 => array( 'Name' => "DigitalProcess.History.SBARGBShifts", |
---|
794 | 'Type' => "Unknown" ), |
---|
795 | |
---|
796 | 50015 => array( 'Name' => "DigitalProcess.History.SBAInputImageColourspace", |
---|
797 | 'Type' => "Unknown" ), |
---|
798 | |
---|
799 | 50016 => array( 'Name' => "DigitalProcess.History.SBAInputImageBitDepth", |
---|
800 | 'Type' => "Unknown" ), |
---|
801 | |
---|
802 | 50017 => array( 'Name' => "DigitalProcess.History.SBAExposureRecord", |
---|
803 | 'Type' => "Unknown" ), |
---|
804 | |
---|
805 | 50018 => array( 'Name' => "DigitalProcess.History.UserAdjSBARGBShifts", |
---|
806 | 'Type' => "Unknown" ), |
---|
807 | |
---|
808 | 50019 => array( 'Name' => "DigitalProcess.ImageRotationStatus", |
---|
809 | 'Type' => "Unknown" ), |
---|
810 | |
---|
811 | 50020 => array( 'Name' => "DigitalProcess.RollGuid.Elements", |
---|
812 | 'Type' => "Unknown" ), |
---|
813 | |
---|
814 | 50021 => array( 'Name' => "ImageContainer.MetadataNumber", |
---|
815 | 'Type' => "String" ), |
---|
816 | |
---|
817 | 50022 => array( 'Name' => "DigitalProcess.History.EditTagArray", |
---|
818 | 'Type' => "Unknown" ), |
---|
819 | |
---|
820 | 50023 => array( 'Name' => "CaptureConditions.Magnification", |
---|
821 | 'Type' => "Unknown" ), |
---|
822 | |
---|
823 | 50028 => array( 'Name' => "CaptureDevice.NativePhysicalXResolution", |
---|
824 | 'Type' => "Unknown" ), |
---|
825 | |
---|
826 | 50029 => array( 'Name' => "CaptureDevice.NativePhysicalYResolution", |
---|
827 | 'Type' => "Unknown" ), |
---|
828 | |
---|
829 | 50030 => array( 'Name' => "Kodak Special Effects IFD", |
---|
830 | 'Type' => "SubIFD", |
---|
831 | 'Tags Name' => "KodakSpecialEffects" ), |
---|
832 | |
---|
833 | 50031 => array( 'Name' => "Kodak Borders IFD", |
---|
834 | 'Type' => "SubIFD", |
---|
835 | 'Tags Name' => "KodakBorders" ), |
---|
836 | |
---|
837 | 50042 => array( 'Name' => "CaptureDevice.NativePhysicalResolutionUnit", |
---|
838 | 'Type' => "Unknown" ), |
---|
839 | |
---|
840 | 50200 => array( 'Name' => "ImageContainer.SourceImageDirectory", |
---|
841 | 'Type' => "Unknown" ), |
---|
842 | |
---|
843 | 50201 => array( 'Name' => "ImageContainer.SourceImageFileName", |
---|
844 | 'Type' => "Unknown" ), |
---|
845 | |
---|
846 | 50202 => array( 'Name' => "ImageContainer.SourceImageVolumeName", |
---|
847 | 'Type' => "Unknown" ), |
---|
848 | |
---|
849 | 50284 => array( 'Name' => "CaptureConditions.PrintQuantity", |
---|
850 | 'Type' => "Unknown" ), |
---|
851 | |
---|
852 | 50286 => array( 'Name' => "DigitalProcess.ImagePrintStatus", |
---|
853 | 'Type' => "Unknown" ) |
---|
854 | |
---|
855 | ), |
---|
856 | |
---|
857 | |
---|
858 | |
---|
859 | /*****************************************************************************/ |
---|
860 | /* */ |
---|
861 | /* Kodak Special Effects IFD Tags */ |
---|
862 | /* */ |
---|
863 | /*****************************************************************************/ |
---|
864 | |
---|
865 | "KodakSpecialEffects" => array( |
---|
866 | |
---|
867 | 0 => array( 'Name' => "Digital Effects Version", |
---|
868 | 'Type' => "Numeric" ), |
---|
869 | |
---|
870 | 1 => array( 'Name' => "Digital Effects Name", |
---|
871 | 'Type' => "Character Coded String" ), |
---|
872 | |
---|
873 | 2 => array( 'Name' => "Digital Effects Type", |
---|
874 | 'Type' => "Lookup", |
---|
875 | 0 => "None Applied" ) |
---|
876 | |
---|
877 | ), |
---|
878 | |
---|
879 | /*****************************************************************************/ |
---|
880 | /* */ |
---|
881 | /* Kodak Borders IFD Tags */ |
---|
882 | /* */ |
---|
883 | /*****************************************************************************/ |
---|
884 | |
---|
885 | "KodakBorders" => array( |
---|
886 | |
---|
887 | 0 => array( 'Name' => "Borders Version", |
---|
888 | 'Type' => "Numeric" ), |
---|
889 | |
---|
890 | 1 => array( 'Name' => "Border Name", |
---|
891 | 'Type' => "Character Coded String" ), |
---|
892 | |
---|
893 | 2 => array( 'Name' => "Border ID", |
---|
894 | 'Type' => "Numeric" ), |
---|
895 | |
---|
896 | 3 => array( 'Name' => "Border Location", |
---|
897 | 'Type' => "Lookup" ), |
---|
898 | |
---|
899 | 4 => array( 'Name' => "Border Type", |
---|
900 | 'Type' => "Lookup", |
---|
901 | 0 => "None" ), |
---|
902 | |
---|
903 | 8 => array( 'Name' => "Watermark Type", |
---|
904 | 'Type' => "Lookup", |
---|
905 | 0 => "None" ) |
---|
906 | |
---|
907 | ), |
---|
908 | |
---|
909 | ); |
---|
910 | |
---|
911 | /****************************************************************************** |
---|
912 | * End of Global Variable: IFD_Tag_Definitions |
---|
913 | ******************************************************************************/ |
---|
914 | |
---|
915 | ?> |
---|