Changeset 5222 for extensions/AMetaData/JpegMetaData/TagDefinitions
- Timestamp:
- Mar 21, 2010, 7:04:31 PM (14 years ago)
- Location:
- extensions/AMetaData/JpegMetaData/TagDefinitions
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/JpegMetaData/TagDefinitions/CanonTags.class.php
r4972 r5222 100 100 'implemented' => true, 101 101 'tagValues' => Array( 102 1 => " Macro",103 2 => " Normal",102 1 => "macro", 103 2 => "normal", 104 104 ), 105 105 ), … … 121 121 'tagValues' => Array( 122 122 0x01 => "Economy", 123 0x02 => " Normal",123 0x02 => "normal", 124 124 0x03 => "Fine", 125 125 0x04 => "RAW", … … 177 177 0x05 => "Continuous", 178 178 0x06 => "Manual Focus (6)", 179 0x10 => " Pan Focus",179 0x10 => "pan focus", 180 180 ), 181 181 ), … … 233 233 0x06 => "Gray Scale", 234 234 0x07 => "Sepia", 235 0x08 => " Portrait",235 0x08 => "portrait", 236 236 0x09 => "Sports", 237 0x0a => " Macro",237 0x0a => "macro", 238 238 0x0b => "Black & White", 239 0x0c => " Pan focus",239 0x0c => "pan focus", 240 240 0x0d => "Vivid", 241 241 0x0e => "Neutral", 242 242 0x0f => "Flash Off", 243 243 0x10 => "Long Shutter", 244 0x11 => " Super Macro",244 0x11 => "super macro", 245 245 0x12 => "Foliage", 246 246 0x13 => "Indoor", … … 270 270 'implemented' => true, 271 271 'tagValues' => Array( 272 0 => " None",272 0 => "none", 273 273 1 => "2x", 274 274 2 => "4x", 275 3 => " Other",275 3 => "other", 276 276 ), 277 277 ), … … 316 316 'implemented' => true, 317 317 'tagValues' => Array( 318 0x00 => " Default",319 0x01 => " Spot",320 0x02 => " Average",321 0x03 => " Evaluative",322 0x04 => " Partial",323 0x05 => " Center-weighted average",318 0x00 => "default", 319 0x01 => "spot", 320 0x02 => "average", 321 0x03 => "evaluative", 322 0x04 => "partial", 323 0x05 => "center-weighted average", 324 324 ), 325 325 ), … … 334 334 0x00 => "Manual", 335 335 0x01 => "Auto", 336 0x02 => "Not Known", 337 0x03 => "Macro", 338 0x04 => "Very Close", 339 0x05 => "Close", 340 0x06 => "Middle Range", 341 0x07 => "Far Range", 342 0x08 => "Pan Focus", 343 0x09 => "Super Macro", 344 0x0a => "Infinity" 345 ), 346 ), 347 348 "0x0001.18" => Array( 349 'tagName' => "CanonCameraSettings.FocusRange", 350 'schema' => "Canon", 351 'translatable'=> true, 352 'combiTag' => 0, 353 'implemented' => true, 354 'tagValues' => Array( 355 0x00 => "Manual", 356 0x01 => "Auto", 357 0x02 => "Not Known", 358 0x03 => "Macro", 359 0x04 => "Very Close", 360 0x05 => "Close", 361 0x06 => "Middle Range", 362 0x07 => "Far Range", 363 0x08 => "Pan Focus", 364 0x09 => "Super Macro", 365 0x0a => "Infinity" 336 0x02 => "not known", 337 0x03 => "macro", 338 0x04 => "very close", 339 0x05 => "close", 340 0x06 => "middle range", 341 0x07 => "far range", 342 0x08 => "pan focus", 343 0x09 => "super macro", 344 0x0a => "infinity" 366 345 ), 367 346 ), … … 406 385 'tagName' => "CanonCameraSettings.LensType", 407 386 'schema' => "Canon", 408 'translatable'=> false,387 'translatable'=> true, 409 388 'combiTag' => 0, 410 389 'implemented' => true, … … 725 704 'tagValues' => Array( 726 705 0x00 => "Did not fire", 727 0x01 => " Fired",706 0x01 => "fired", 728 707 ), 729 708 ), … … 858 837 0x0500 => "Full", 859 838 0x0502 => "Medium", 860 0x0504 => " Low",839 0x0504 => "low", 861 840 0x7fff => "n/a", 862 841 ), … … 870 849 'implemented' => true, 871 850 'tagValues' => Array( 872 0x0000 => " Normal",851 0x0000 => "normal", 873 852 ), 874 853 ), … … 1015 994 'tagValues' => Array( 1016 995 0x00 => "Off", 1017 0x01 => " Night Scene",996 0x01 => "night scene", 1018 997 0x02 => "On", 1019 0x03 => " None",998 0x03 => "none", 1020 999 ), 1021 1000 ), … … 1178 1157 'tagValues' => Array( 1179 1158 0xFFFF => "Unknown", 1180 0 => " None",1159 0 => "none", 1181 1160 1 => "Rotate 90 CW", 1182 1161 2 => "Rotate 180", … … 1896 1875 ), // < MyColors 1897 1876 1898 // , tag 0x00001899 0x0000 => Array(1900 'tagName' => "",1901 'schema' => "Canon",1902 'translatable'=> false,1903 'combiTag' => 0,1904 'implemented' => false,1905 ), // <1906 1907 1877 // FirmwareRevision, tag 0x001e 1908 1878 0x001e => Array( -
extensions/AMetaData/JpegMetaData/TagDefinitions/GpsTags.class.php
r5004 r5222 71 71 'tagName' => "GPSLatitudeRef", 72 72 'schema' => "GPS", 73 'translatable'=> false, 74 'combiTag' => 0, 75 'implemented' => true 73 'translatable'=> true, 74 'combiTag' => 0, 75 'implemented' => true, 76 'tagValues.special' => Array( 77 'N' => "North", 78 'S' => "South", 79 ), 76 80 ), // < GPSLatitudeRef 77 81 … … 83 87 'combiTag' => 0, 84 88 'implemented' => true 85 ), // < GPSLatitude Ref89 ), // < GPSLatitude 86 90 87 91 // GPSLongitudeRef, tag 0x0003 … … 89 93 'tagName' => "GPSLongitudeRef", 90 94 'schema' => "GPS", 91 'translatable'=> false, 92 'combiTag' => 0, 93 'implemented' => true 95 'translatable'=> true, 96 'combiTag' => 0, 97 'implemented' => true, 98 'tagValues.special' => Array( 99 'E' => "East", 100 'W' => "West", 101 ), 94 102 ), // < GPSLongitudeRef 95 103 … … 107 115 'tagName' => "GPSAltitudeRef", 108 116 'schema' => "GPS", 109 'translatable'=> false,117 'translatable'=> true, 110 118 'combiTag' => 0, 111 119 'implemented' => true, 112 120 'tagValues' => Array( 113 0x00 => " +",114 0x01 => " -"121 0x00 => "over the sea", 122 0x01 => "under the sea" 115 123 ) 116 124 ), // < GPSAltitudeRef … … 263 271 'tagName' => "GPSDestLatitudeRef", 264 272 'schema' => "GPS", 265 'translatable'=> false, 266 'combiTag' => 0, 267 'implemented' => true 273 'translatable'=> true, 274 'combiTag' => 0, 275 'implemented' => true, 276 'tagValues.special' => Array( 277 'N' => "North", 278 'S' => "South", 279 ), 268 280 ), // < GPSDestLatitudeRef 269 281 … … 281 293 'tagName' => "GPSDestLongitudeRef", 282 294 'schema' => "GPS", 283 'translatable'=> false, 284 'combiTag' => 0, 285 'implemented' => true 295 'translatable'=> true, 296 'combiTag' => 0, 297 'implemented' => true, 298 'tagValues.special' => Array( 299 'E' => "East", 300 'W' => "West", 301 ), 286 302 ), // < GPSDestLongitudeRef 287 303 -
extensions/AMetaData/JpegMetaData/TagDefinitions/IfdTags.class.php
r4998 r5222 187 187 0x0002 => "RGB", 188 188 0x0003 => "RGB Palette", 189 0x0004 => " Transparency Mask",189 0x0004 => "transparency mask", 190 190 0x0005 => "CMYK", 191 191 0x0006 => "YCbCr", … … 426 426 0x0121 => Array( 427 427 'tagName' => "FreeByteCounts", 428 'schema' => " unknown",428 'schema' => "Unknown", 429 429 'translatable'=> false, 430 430 'combiTag' => 0, … … 451 451 0x0123 => Array( 452 452 'tagName' => "GrayResponseCurve", 453 'schema' => " unknown",453 'schema' => "Unknown", 454 454 'translatable'=> false, 455 455 'combiTag' => 0, … … 460 460 0x0124 => Array( 461 461 'tagName' => "T4Options", 462 'schema' => " unknown",462 'schema' => "Unknown", 463 463 'translatable'=> false, 464 464 'combiTag' => 0, … … 470 470 0x0125 => Array( 471 471 'tagName' => "T6Options", 472 'schema' => " unknown",472 'schema' => "Unknown", 473 473 'translatable'=> false, 474 474 'combiTag' => 0, … … 503 503 0x012c => Array( 504 504 'tagName' => "ColorResponseUnit", 505 'schema' => " unknown",505 'schema' => "Unknown", 506 506 'translatable'=> false, 507 507 'combiTag' => 0, … … 721 721 0x8568 => Array( 722 722 'tagName' => "AFCP_IPTC", 723 'schema' => " unknown",723 'schema' => "Unknown", 724 724 'translatable'=> false, 725 725 'combiTag' => 0, … … 741 741 0x8773 => Array( 742 742 'tagName' => "ICC_Profile", 743 'schema' => " unknown",743 'schema' => "Unknown", 744 744 'translatable'=> false, 745 745 'combiTag' => 0, … … 757 757 'tagValues' => Array( 758 758 0x00 => "not defined", 759 0x01 => " manual",759 0x01 => "Manual", 760 760 0x02 => "normal program", 761 0x03 => " aperture priority",761 0x03 => "Aperture Priority", 762 762 0x04 => "shutter priority", 763 763 0x05 => "creative program", … … 932 932 'implemented' => true, 933 933 'tagValues' => Array( 934 0x0000 => " unknown",934 0x0000 => "Unknown", 935 935 0x0001 => "average", 936 936 0x0002 => "CenterWeightedAverage", … … 951 951 'implemented' => true, 952 952 'tagValues' => Array( 953 0x0000 => " unknown",954 0x0001 => " daylight",955 0x0002 => " fluorescent",953 0x0000 => "Unknown", 954 0x0001 => "Daylight", 955 0x0002 => "Fluorescent", 956 956 0x0003 => "tungsten (incandescent light)", 957 0x0004 => " flash",957 0x0004 => "Flash", 958 958 0x0009 => "fine weather", 959 959 0x000a => "cloudy weather", 960 0x000b => " shade",960 0x000b => "Shade", 961 961 0x000c => "daylight fluorescent (D 5700 - 7100K)", 962 962 0x000d => "day white fluorescent (N 4600 - 5400K)", … … 1001 1001 ), 1002 1002 0x0018 => Array( // b00011000 => 'mode' 1003 0x00 => " unknown",1003 0x00 => "Unknown", 1004 1004 0x01 => "compulsory flash firing", 1005 1005 0x02 => "compulsory flash suppression", … … 1101 1101 0x9216 => Array( 1102 1102 'tagName' => "TIFF-EPStandardID", 1103 'schema' => " unknown",1103 'schema' => "Unknown", 1104 1104 'translatable'=> false, 1105 1105 'combiTag' => 0, … … 1262 1262 // FlashEnergy, tag 0xA20B 1263 1263 0xA20B => Array( 1264 'tagName' => " exif",1264 'tagName' => "FlashEnergy", 1265 1265 'schema' => "tiff", 1266 1266 'translatable'=> false, … … 1461 1461 'tagValues' => Array( 1462 1462 0x00 => "standard", 1463 0x01 => " landscape",1463 0x01 => "Landscape", 1464 1464 0x02 => "portrait", 1465 1465 0x03 => "night scene" … … 1542 1542 'implemented' => true, 1543 1543 'tagValues' => Array( 1544 0x00 => " unknown",1544 0x00 => "Unknown", 1545 1545 0x01 => "macro", 1546 1546 0x02 => "close", -
extensions/AMetaData/JpegMetaData/TagDefinitions/IptcTags.class.php
r4904 r5222 92 92 0x0019 => "RIFF Wave (Microsoft Corporation)", 93 93 0x0020 => "Freehand (Macromedia/Aldus)", 94 0x0021 => "Hypertext Markup Language \"HTML\"(The Internet Society)",94 0x0021 => "Hypertext Markup Language 'HTML' (The Internet Society)", 95 95 0x0022 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 96 96 0x0023 => "MPEG 2 Audio Layer 3, ISO/IEC", … … 512 512 'tagValues' => Array( 513 513 'P' => "portrait", 514 'L' => " landscape",514 'L' => "Landscape", 515 515 'S' => "square", 516 516 ) -
extensions/AMetaData/JpegMetaData/TagDefinitions/MagicTags.class.php
r5038 r5222 300 300 'GPS.Altitude' => Array( 301 301 'implemented' => true, 302 'translatable' => false,303 'tagValues' => Array( 304 "{exif.gps.GPSAltitudeRef} {exif.gps.GPSAltitude}m",305 "{xmp.exif:GPSAltitudeRef} {xmp.exif:GPSAltitude}m",302 'translatable' => true, 303 'tagValues' => Array( 304 "{exif.gps.GPSAltitudeRef}|{exif.gps.GPSAltitude}m", 305 "{xmp.exif:GPSAltitudeRef}|{xmp.exif:GPSAltitude}m", 306 306 ) 307 307 ), … … 309 309 'GPS.Latitude' => Array( 310 310 'implemented' => true, 311 'translatable' => false,312 'tagValues' => Array( 313 "{exif.gps.GPSLatitude} 311 'translatable' => true, 312 'tagValues' => Array( 313 "{exif.gps.GPSLatitude}| |{exif.gps.GPSLatitudeRef}", 314 314 "{xmp.exif:GPSLatitude}", 315 315 ) … … 318 318 'GPS.Longitude' => Array( 319 319 'implemented' => true, 320 'translatable' => false,321 'tagValues' => Array( 322 "{exif.gps.GPSLongitude} 320 'translatable' => true, 321 'tagValues' => Array( 322 "{exif.gps.GPSLongitude}| |{exif.gps.GPSLongitudeRef}", 323 323 "{xmp.exif:GPSLongitude}", 324 324 ) -
extensions/AMetaData/JpegMetaData/TagDefinitions/NikonTags.class.php
r5038 r5222 351 351 'tagValues' => Array( 352 352 0 => "Off", 353 1 => " Low",354 3 => " Normal",355 5 => " High",353 1 => "low", 354 3 => "normal", 355 5 => "high", 356 356 0xffff => "Auto" 357 357 ) … … 394 394 'tagValues' => Array( 395 395 0 => "Off", 396 1 => " Low",397 3 => " Normal",398 5 => " High",396 1 => "low", 397 3 => "normal", 398 5 => "high", 399 399 ) 400 400 ), // < VignetteControl … … 486 486 'implemented' => true, 487 487 'tagValues' => Array( 488 0 => "Did Not Fire",489 1 => "Fired, Manual",490 3 => "Not Ready",491 7 => "Fired, External",492 8 => "Fired, Commander Mode",493 9 => "Fired, TTL Mode",488 0 => "Did not fire", 489 1 => "Fired, manual", 490 3 => "Not ready", 491 7 => "Fired, external", 492 8 => "Fired, commander mode", 493 9 => "Fired, TTL mode", 494 494 ) 495 495 ), // < FlashMode … … 678 678 0x0098 => Array( 679 679 'tagName' => "LensData", 680 'schema' => " Nikon",680 'schema' => "true", 681 681 'translatable'=> false, 682 682 'combiTag' => 0, … … 1215 1215 0 => "Off", 1216 1216 1 => "Minimal", 1217 2 => " Low",1218 4 => " Normal",1219 6 => " High",1217 2 => "low", 1218 4 => "normal", 1219 6 => "high", 1220 1220 ) 1221 1221 ), // < HighISONoiseReduction -
extensions/AMetaData/JpegMetaData/TagDefinitions/PentaxTags.class.php
r5038 r5222 233 233 2 => "Program AE", 234 234 3 => "Manual", 235 5 => " Portrait",235 5 => "portrait", 236 236 6 => "Landscape", 237 237 8 => "Sport", 238 9 => " Night Scene",238 9 => "night scene", 239 239 11 => "Soft", 240 240 12 => "Surf & Snow", 241 241 13 => "Candlelight", 242 242 14 => "Autumn", 243 15 => " Macro",243 15 => "macro", 244 244 17 => "Fireworks", 245 245 18 => "Text", … … 278 278 'tagValues.special' => Array( 279 279 Array( 280 0x000 => " Auto, Did not fire",281 0x001 => " Off, Did not fire",282 0x002 => " On, Did not fire", //from exiftool283 0x003 => " Auto, Did not fire, Red-eye reduction",284 0x100 => " Auto, Fired",285 0x102 => " On, Fired",286 0x103 => " Auto, Fired, Red-eye reduction",287 0x104 => " On, Red-eye reduction",288 0x105 => " On, Wireless (Master)", // from exiftool289 0x106 => " On, Wireless (Control)", // from exiftool290 0x108 => " On, Soft",291 0x109 => " On, Slow-sync",292 0x10a => " On, Slow-sync, Red-eye reduction",293 0x10b => " On, Trailing-curtain Sync"280 0x000 => "auto, did not fire", 281 0x001 => "off, did not fire", 282 0x002 => "on, did not fire", //from exiftool 283 0x003 => "auto, did not fire, red-eye reduction", 284 0x100 => "auto, fired", 285 0x102 => "on, fired", 286 0x103 => "auto, fired, red-eye reduction", 287 0x104 => "on, red-eye reduction", 288 0x105 => "on, wireless (master)", // from exiftool 289 0x106 => "on, wireless (control)", // from exiftool 290 0x108 => "on, soft", 291 0x109 => "on, slow-sync", 292 0x10a => "on, slow-sync, red-eye reduction", 293 0x10b => "on, trailing-curtain sync" 294 294 ), 295 295 Array( //from exiftool 296 0x0000 => "n/a - Off-Auto-Aperture",297 0x003f => " Internal",298 0x0100 => " External, Auto",299 0x023f => " External, Flash Problem",300 0x0300 => " External, Manual",301 0x0304 => " External, P-TTL Auto",302 0x0305 => " External, Contrast-control Sync",303 0x0306 => " External, High-speed Sync",304 0x030c => " External, Wireless",305 0x030d => " External, Wireless, High-speed Sync"296 0x0000 => "n/a - off-auto-aperture", 297 0x003f => "internal", 298 0x0100 => "external, auto", 299 0x023f => "external, flash problem", 300 0x0300 => "external, manual", 301 0x0304 => "external, p-ttl auto", 302 0x0305 => "external, contrast-control sync", 303 0x0306 => "external, high-speed sync", 304 0x030c => "external, wireless", 305 0x030d => "external, wireless, high-speed sync" 306 306 ) 307 307 ) … … 316 316 'implemented' => true, 317 317 'tagValues' => Array( 318 0 => " Normal",319 1 => " Macro",320 2 => " Infinity",318 0 => "normal", 319 1 => "macro", 320 2 => "infinity", 321 321 3 => "Manual", 322 4 => " Super Macro", // from exiftool323 5 => " Pan Focus",322 4 => "super macro", // from exiftool 323 5 => "pan focus", 324 324 16 => "AF-S", 325 325 17 => "AF-C", … … 362 362 'implemented' => true, 363 363 'tagValues' => Array( 364 0xffff => " None",364 0xffff => "none", 365 365 0 => "Fixed Center or Multiple", 366 366 1 => "Top-left", … … 440 440 0 => "Multi Segment", 441 441 1 => "Center Weighted", 442 2 => " Spot"442 2 => "spot" 443 443 ) 444 444 ), // < MeteringMode … … 498 498 'implemented' => true, 499 499 'tagValues' => Array( 500 0 => " Low",501 1 => " Normal",502 2 => " High",500 0 => "low", 501 1 => "normal", 502 2 => "high", 503 503 3 => "Med Low", 504 504 4 => "Med High", 505 505 5 => "Very Low", 506 506 6 => "Very High", 507 65535 => " None", //from exiftool507 65535 => "none", //from exiftool 508 508 ) 509 509 ), // < Saturation … … 517 517 'implemented' => true, 518 518 'tagValues' => Array( 519 0 => " Low",520 1 => " Normal",521 2 => " High",519 0 => "low", 520 1 => "normal", 521 2 => "high", 522 522 3 => "Med Low", 523 523 4 => "Med High", … … 536 536 'tagValues' => Array( 537 537 0 => "Soft", 538 1 => " Normal",538 1 => "normal", 539 539 2 => "Hard", 540 540 3 => "Med Soft", … … 754 754 0x000200 => "DOF Program", // from exiftool 755 755 0x000300 => "MTF Program", 756 0x000400 => " Standard",757 0x000500 => " Portrait",756 0x000400 => "standard", 757 0x000500 => "portrait", 758 758 0x000600 => "Landscape", 759 0x000700 => " Macro",759 0x000700 => "macro", 760 760 0x000800 => "Sport", 761 761 0x000900 => "Night Scene Portrait", 762 0x000a00 => " No Flash",762 0x000a00 => "no flash", 763 763 /* SCN modes (menu-selected) */ 764 0x000b00 => " Night Scene",764 0x000b00 => "night scene", 765 765 0x000c00 => "Surf & Snow", 766 766 0x000d00 => "Text", … … 802 802 0x0c0001 => "Bulb (Off-Auto-Aperture)", 803 803 /* K10D modes */ 804 0x060000 => " Shutter Priority",804 0x060000 => "shutter priority", 805 805 0x0d0000 => "Shutter & Aperture Priority AE, 1/2 EV steps", 806 806 0x0d0001 => "Shutter & Aperture Priority AE, 1/3 EV steps", … … 833 833 0x00010000 => "Self-timer (12 sec)", 834 834 0x00020000 => "Self-timer (2 sec)", 835 0x00ff0000 => " N/A", //from exiftool (K-x ?)835 0x00ff0000 => "n/a", //from exiftool (K-x ?) 836 836 0x00000100 => "Remote Control (3 sec)", 837 837 0x00000200 => "Remote Control", … … 1088 1088 0 => "Natural", 1089 1089 1 => "Bright", 1090 2 => " Portrait",1090 2 => "portrait", 1091 1091 3 => "Landscape", 1092 1092 4 => "Vibrant", -
extensions/AMetaData/JpegMetaData/TagDefinitions/XmpTags.class.php
r5004 r5222 73 73 { 74 74 if($val['type']['value']==$lang or 75 XmpTags::lang($val['type']['value'])==$lang or 76 $val['type']['value']=="x-default") 75 XmpTags::lang($val['type']['value'])==$lang) 76 { 77 return($val['value']); 78 } 79 80 if($val['type']['value']=="x-default") 81 { 77 82 $returned=$val['value']; 83 } 78 84 } 79 85 return($returned); … … 1398 1404 'schema' => "exif", 1399 1405 'tagValues' => Array( 1400 0x00 => " unknown",1406 0x00 => "Unknown", 1401 1407 0x01 => "compulsory flash firing", 1402 1408 0x02 => "compulsory flash suppression", … … 1891 1897 '010900' => "group", 1892 1898 '010700' => "couple", 1893 '010600' => " single",1899 '010600' => "Single", 1894 1900 '010400' => "profile", 1895 1901 '010500' => "rear view", … … 2043 2049 if(!is_null($tmpTag)) 2044 2050 { 2045 $this->tags[$key]['tagName'] = $tmpTag['tagName'];2051 //$this->tags[$key]['tagName'] = $tmpTag['tagName']; 2046 2052 2047 2053 if(array_key_exists('tagValues', $tmpTag))
Note: See TracChangeset
for help on using the changeset viewer.