Changeset 4698 for extensions/AMetaData/JpegMetaData/TagDefinitions
- Timestamp:
- Jan 17, 2010, 7:05:35 PM (15 years ago)
- Location:
- extensions/AMetaData/JpegMetaData/TagDefinitions
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/JpegMetaData/TagDefinitions/GpsTags.class.php
r4686 r4698 10 10 * 11 11 * 12 * +-----------------------------------------------------------------------+ 13 * | JpegMetaData - a PHP based Jpeg Metadata manager | 14 * +-----------------------------------------------------------------------+ 15 * | Copyright(C) 2010 Grum - http://www.grum.fr | 16 * +-----------------------------------------------------------------------+ 17 * | This program is free software; you can redistribute it and/or modify | 18 * | it under the terms of the GNU General Public License as published by | 19 * | the Free Software Foundation | 20 * | | 21 * | This program is distributed in the hope that it will be useful, but | 22 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 23 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 24 * | General Public License for more details. | 25 * | | 26 * | You should have received a copy of the GNU General Public License | 27 * | along with this program; if not, write to the Free Software | 28 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 29 * | USA. | 30 * +-----------------------------------------------------------------------+ 31 * 32 * 12 33 * ----------------------------------------------------------------------------- 13 * Known IFD tags properties class 34 * 35 * The GpsTags is the definition of the Gps Exif tags 36 * 14 37 * ----------------------------------------------------------------------------- 38 * 39 * .. Notes .. 40 * 41 * The GpsTags class is derived from the KnownTags class. 42 * 43 * ======> See KnownTags.class.php to know more about the tag definitions <===== 44 * 15 45 */ 16 46 -
extensions/AMetaData/JpegMetaData/TagDefinitions/IfdTags.class.php
r4686 r4698 10 10 * 11 11 * 12 * +-----------------------------------------------------------------------+ 13 * | JpegMetaData - a PHP based Jpeg Metadata manager | 14 * +-----------------------------------------------------------------------+ 15 * | Copyright(C) 2010 Grum - http://www.grum.fr | 16 * +-----------------------------------------------------------------------+ 17 * | This program is free software; you can redistribute it and/or modify | 18 * | it under the terms of the GNU General Public License as published by | 19 * | the Free Software Foundation | 20 * | | 21 * | This program is distributed in the hope that it will be useful, but | 22 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 23 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 24 * | General Public License for more details. | 25 * | | 26 * | You should have received a copy of the GNU General Public License | 27 * | along with this program; if not, write to the Free Software | 28 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 29 * | USA. | 30 * +-----------------------------------------------------------------------+ 31 * 32 * 12 33 * ----------------------------------------------------------------------------- 13 * Known IFD tags properties class 34 * 35 * The IfdTags is the definition of the Tiff & Exif tags 36 * 14 37 * ----------------------------------------------------------------------------- 38 * 39 * .. Notes .. 40 * 41 * The IfdTags class is derived from the KnownTags class. 42 * 43 * ======> See KnownTags.class.php to know more about the tag definitions <===== 44 * 15 45 */ 16 46 -
extensions/AMetaData/JpegMetaData/TagDefinitions/IptcTags.class.php
r4686 r4698 10 10 * 11 11 * 12 * +-----------------------------------------------------------------------+ 13 * | JpegMetaData - a PHP based Jpeg Metadata manager | 14 * +-----------------------------------------------------------------------+ 15 * | Copyright(C) 2010 Grum - http://www.grum.fr | 16 * +-----------------------------------------------------------------------+ 17 * | This program is free software; you can redistribute it and/or modify | 18 * | it under the terms of the GNU General Public License as published by | 19 * | the Free Software Foundation | 20 * | | 21 * | This program is distributed in the hope that it will be useful, but | 22 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 23 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 24 * | General Public License for more details. | 25 * | | 26 * | You should have received a copy of the GNU General Public License | 27 * | along with this program; if not, write to the Free Software | 28 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 29 * | USA. | 30 * +-----------------------------------------------------------------------+ 31 * 32 * 12 33 * ----------------------------------------------------------------------------- 13 * Known IPTC tags properties class 34 * 35 * The IptcTags is the definition of the IPTC tags 36 * 14 37 * ----------------------------------------------------------------------------- 38 * 39 * .. Notes .. 40 * 41 * The IptcTags class is derived from the KnownTags class. 42 * 43 * ======> See KnownTags.class.php to know more about the tag definitions <===== 44 * 15 45 */ 16 46 -
extensions/AMetaData/JpegMetaData/TagDefinitions/KnownTags.class.php
r4686 r4698 9 9 * << May the Little SpaceFrog be with you ! >> 10 10 * 11 * +-----------------------------------------------------------------------+ 12 * | JpegMetaData - a PHP based Jpeg Metadata manager | 13 * +-----------------------------------------------------------------------+ 14 * | Copyright(C) 2010 Grum - http://www.grum.fr | 15 * +-----------------------------------------------------------------------+ 16 * | This program is free software; you can redistribute it and/or modify | 17 * | it under the terms of the GNU General Public License as published by | 18 * | the Free Software Foundation | 19 * | | 20 * | This program is distributed in the hope that it will be useful, but | 21 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 22 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 23 * | General Public License for more details. | 24 * | | 25 * | You should have received a copy of the GNU General Public License | 26 * | along with this program; if not, write to the Free Software | 27 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 28 * | USA. | 29 * +-----------------------------------------------------------------------+ 30 * 31 * 11 32 * ----------------------------------------------------------------------------- 12 33 * 34 * The KnownTags is a generic class to manage the definition of tags 35 * 36 * Tags are defined in an array $tags : 37 * - key => the Tag ID (UShort for exif & Iptc, String for Xmp) 38 * - value => an array with theses properties 39 * 40 * Common properties 41 * 'tagName' => String : the official name of the tag (used for 42 * translation) 43 * 'tagValues' => Array : an array to associate a label for each known 44 * values 45 * 'translatable' => Boolean : set to true if the value can be translated 46 * 'implemented' => Boolean : set to true if the tag needs a specific 47 * interpretation and is implemented 48 * 'schema' => String : schema associated with the tag 49 * exif : "tiff", "exif", "gps", "pentax", ... 50 * xmp : "dc", "exif", "photoshop", ... 51 * => not yet defined for Iptc.... 52 * 'tagValues.special' => used on some tags for implementation 53 * 54 * Exif like tags 55 * 'combiTag' => Integer : use on some specific tags 56 * 57 * Xmp specific properties (==> see XmpTags.class.php for more information) 58 * 'iptcTag' => if the Xmp tag exist in Iptc, the Iptc tag Id 59 * 'exifTag' => if the Xmp tag exist in Exif, the Exif tag Id 60 * 'type' => the type of Xmp data 61 * 13 62 * ----------------------------------------------------------------------------- 14 63 * 64 * .. Notes .. 65 * 66 * This class is not declared as an abstract class, but it's not recommanded to 67 * create object with it. 68 * 69 * Derived classes : 70 * - GpsTags (exif gps tags) 71 * - IfdTag (exif & tiff tags) 72 * - IptcTag (iptc tags) 73 * - PentaxTag (pentax exif tags) 74 * - XmpTag (xmp tags) 75 * 76 * 77 * This class provides theses public functions : 78 * - getTags 79 * - tagIdExists 80 * - getTagById 81 * - getTagIdByName 82 * - getTagByName 83 * - getLabel 84 * 15 85 * ----------------------------------------------------------------------------- 86 * 16 87 */ 17 88 … … 35 106 } 36 107 108 /** 109 * this function return the $tags array 110 * 111 * an optional parameter $filter can be given. 112 * its an array with the keys : 113 * 'implemented' => Integer = KNOWN_TAGS_ALL, KNOWN_TAGS_IMPLEMENTED, KNOWN_TAGS_NOT_IMPLEMENTED 114 * filter tags with the property 'implemented' and 'known' 115 * 'schema' => String = name of the schema 116 * filter tags with the schema property 117 * 118 * @param Array $filter (optional) 119 * @return Array : an array of tags properties (see this file header to know 120 * more about the tag properties) 121 */ 37 122 public function getTags($filter = Array('implemented' => KNOWN_TAGS_ALL, 'schema' => NULL)) 38 123 { … … 64 149 } 65 150 151 /** 152 * this function returns true if the given ID exists 153 * 154 * @return Boolean 155 */ 66 156 public function tagIdExists($id) 67 157 { … … 69 159 } 70 160 71 161 /** 162 * returns a tag, searched by its ID 163 * return false if the tag is not found 164 * 165 * @return Array : see this file header to know more about the tag properties 166 */ 72 167 public function getTagById($id) 73 168 { … … 79 174 } 80 175 176 /** 177 * returns the tag ID, searched by its name property 178 * return false if the tag is not found 179 * 180 * @return String or UShort 181 */ 81 182 public function getTagIdByName($name) 82 183 { … … 89 190 } 90 191 192 /** 193 * returns a Tag, searched by its name property 194 * return false if the tag is not found 195 * 196 * @return Array : see this file header to know more about the tag properties 197 */ 91 198 public function getTagByName($name) 92 199 { 93 200 $index=$this->getTagIdByName($name); 94 if( index!==false)201 if($index!==false) 95 202 return($this->tags[$index]); 96 203 return(false); 97 204 } 98 205 206 /** 207 * return the label associated with the tag defininition 208 * (something like "Exif & Tiff tags" or "Pentax specific tags") 209 * 210 * @return String 211 */ 99 212 public function getLabel() 100 213 { -
extensions/AMetaData/JpegMetaData/TagDefinitions/PentaxTags.class.php
r4686 r4698 9 9 * << May the Little SpaceFrog be with you ! >> 10 10 * 11 * -----------------------------------------------------------------------------12 11 * 13 * Pentax values from 14 * - ExifTool / Copyright - Phil Harvey <phil at owl.phy.queensu.ca> 15 * - Exiv2 / Copyright - Andreas Huggel <ahuggel at gmx.net> 16 * 12 * +-----------------------------------------------------------------------+ 13 * | JpegMetaData - a PHP based Jpeg Metadata manager | 14 * +-----------------------------------------------------------------------+ 15 * | Copyright(C) 2010 Grum - http://www.grum.fr | 16 * +-----------------------------------------------------------------------+ 17 * | This program is free software; you can redistribute it and/or modify | 18 * | it under the terms of the GNU General Public License as published by | 19 * | the Free Software Foundation | 20 * | | 21 * | This program is distributed in the hope that it will be useful, but | 22 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 23 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 24 * | General Public License for more details. | 25 * | | 26 * | You should have received a copy of the GNU General Public License | 27 * | along with this program; if not, write to the Free Software | 28 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 29 * | USA. | 30 * +-----------------------------------------------------------------------+ 17 31 * 18 32 * 19 33 * ----------------------------------------------------------------------------- 20 * Pentax tags definition & Pentax reader class 34 * 35 * The PentaxTags is the definition of the specific Pentax Exif tags 36 * 21 37 * ----------------------------------------------------------------------------- 38 * 39 * .. Notes .. 40 * 41 * The PentaxTags class is derived from the KnownTags class. 42 * 43 * ======> See KnownTags.class.php to know more about the tag definitions <===== 44 * 45 * 46 * Pentax values from 47 * - Exiftool by Phil Harvey => http://www.sno.phy.queensu.ca/~phil/exiftool/ 48 * http://owl.phy.queensu.ca/~phil/exiftool/TagNames 49 * - Exiv2 by Andreas Huggel => http://www.exiv2.org/ 50 * 22 51 */ 23 52 … … 38 67 0x0001 => Array( 39 68 'tagName' => "ShootingMode", 40 ' group' => Array("Pentax"),69 'schema' => "Pentax", 41 70 'translatable'=> true, 42 71 'combiTag' => 0, … … 52 81 0x0005 => Array( 53 82 'tagName' => "CameraModel", 54 ' group' => Array("Pentax"),83 'schema' => "Pentax", 55 84 'translatable'=> false, 56 85 'combiTag' => 0, … … 148 177 0x0008 => Array( 149 178 'tagName' => "Quality", 150 ' group' => Array("Pentax"),179 'schema' => "Pentax", 151 180 'translatable'=> true, 152 181 'combiTag' => 0, … … 166 195 0x0009 => Array( 167 196 'tagName' => "Size", 168 ' group' => Array("Pentax"),197 'schema' => "Pentax", 169 198 'translatable'=> true, 170 199 'combiTag' => 0, … … 196 225 0x000b => Array( 197 226 'tagName' => "PictureMode", 198 ' group' => Array("Pentax"),227 'schema' => "Pentax", 199 228 'translatable'=> true, 200 229 'combiTag' => 0, … … 244 273 0x000c => Array( 245 274 'tagName' => "Flash", 246 ' group' => Array("Pentax"),275 'schema' => "Pentax", 247 276 'translatable'=> true, 248 277 'combiTag' => 0, … … 283 312 0x000d => Array( 284 313 'tagName' => "Focus", 285 ' group' => Array("Pentax"),314 'schema' => "Pentax", 286 315 'translatable'=> true, 287 316 'combiTag' => 0, … … 303 332 0x000e => Array( 304 333 'tagName' => "AFPoint", 305 ' group' => Array("Pentax"),334 'schema' => "Pentax", 306 335 'translatable'=> true, 307 336 'combiTag' => 0, … … 329 358 0x000f => Array( 330 359 'tagName' => "AFPointsInFocus", 331 ' group' => Array("Pentax"),360 'schema' => "Pentax", 332 361 'translatable'=> true, 333 362 'combiTag' => 0, … … 351 380 0x0014 => Array( 352 381 'tagName' => "ISO", 353 ' group' => Array("Pentax"),382 'schema' => "Pentax", 354 383 'translatable'=> false, 355 384 'combiTag' => 0, … … 405 434 0x0017 => Array( 406 435 'tagName' => "MeteringMode", 407 ' group' => Array("Pentax"),436 'schema' => "Pentax", 408 437 'translatable'=> true, 409 438 'combiTag' => 0, … … 419 448 0x0019 => Array( 420 449 'tagName' => "WhiteBallance", 421 ' group' => Array("Pentax"),450 'schema' => "Pentax", 422 451 'translatable'=> true, 423 452 'combiTag' => 0, … … 444 473 0x001a => Array( 445 474 'tagName' => "WhiteBallanceMode", 446 ' group' => Array("Pentax"),475 'schema' => "Pentax", 447 476 'translatable'=> true, 448 477 'combiTag' => 0, … … 465 494 0x001f => Array( 466 495 'tagName' => "Saturation", 467 ' group' => Array("Pentax"),496 'schema' => "Pentax", 468 497 'translatable'=> true, 469 498 'combiTag' => 0, … … 484 513 0x0020 => Array( 485 514 'tagName' => "Contrast", 486 ' group' => Array("Pentax"),515 'schema' => "Pentax", 487 516 'translatable'=> true, 488 517 'combiTag' => 0, … … 502 531 0x0021 => Array( 503 532 'tagName' => "Sharpness", 504 ' group' => Array("Pentax"),533 'schema' => "Pentax", 505 534 'translatable'=> true, 506 535 'combiTag' => 0, … … 520 549 0x0022 => Array( 521 550 'tagName' => "WorldTimeLocation", 522 ' group' => Array("Pentax"),551 'schema' => "Pentax", 523 552 'translatable'=> true, 524 553 'combiTag' => 0, … … 533 562 0x0023 => Array( 534 563 'tagName' => "HomeCityName", 535 ' group' => Array("Pentax"),564 'schema' => "Pentax", 536 565 'translatable'=> true, 537 566 'combiTag' => 0, … … 616 645 0x0024 => Array( 617 646 'tagName' => "DestinationCityName", 618 ' group' => Array("Pentax"),647 'schema' => "Pentax", 619 648 'translatable'=> true, 620 649 'combiTag' => 0, … … 700 729 0x0032 => Array( 701 730 'tagName' => "ImageProcessing", 702 ' group' => Array("Pentax"),731 'schema' => "Pentax", 703 732 'translatable'=> true, 704 733 'combiTag' => 4, … … 717 746 0x0033 => Array( 718 747 'tagName' => "PictureMode", 719 ' group' => Array("Pentax"),748 'schema' => "Pentax", 720 749 'translatable'=> true, 721 750 'combiTag' => 3, … … 793 822 0x0034 => Array( 794 823 'tagName' => "DriveMode", 795 ' group' => Array("Pentax"),824 'schema' => "Pentax", 796 825 'translatable'=> true, 797 826 'combiTag' => 4, … … 817 846 0x0037 => Array( 818 847 'tagName' => "ColorSpace", 819 ' group' => Array("Pentax"),848 'schema' => "Pentax", 820 849 'translatable'=> false, 821 850 'combiTag' => 0, … … 830 859 0x003f => Array( 831 860 'tagName' => "LensType", 832 ' group' => Array("Pentax"),861 'schema' => "Pentax", 833 862 'translatable'=> true, 834 863 'combiTag' => 2, … … 993 1022 0x004f => Array( 994 1023 'tagName' => "ImageTone", 995 ' group' => Array("Pentax"),1024 'schema' => "Pentax", 996 1025 'translatable'=> true, 997 1026 'combiTag' => 0, … … 1011 1040 0x0069 => Array( 1012 1041 'tagName' => "DynamicRangeExpansion", 1013 ' group' => Array("Pentax"),1042 'schema' => "Pentax", 1014 1043 'translatable'=> true, 1015 1044 'combiTag' => 4, … … 1025 1054 0x0071 => Array( 1026 1055 'tagName' => "HighISONoiseReduction", 1027 ' group' => Array("Pentax"),1056 'schema' => "Pentax", 1028 1057 'translatable'=> true, 1029 1058 'combiTag' => 0, … … 1045 1074 0x0000 => Array( 1046 1075 'tagName' => "Version", 1047 ' group' => Array("Pentax"),1076 'schema' => "Pentax", 1048 1077 'translatable'=> false, 1049 1078 'combiTag' => 0, … … 1054 1083 0x0002 => Array( 1055 1084 'tagName' => "PreviewResolution", 1056 ' group' => Array("Pentax"),1085 'schema' => "Pentax", 1057 1086 'translatable'=> false, 1058 1087 'combiTag' => 0, … … 1063 1092 0x0003 => Array( 1064 1093 'tagName' => "PreviewLength", 1065 ' group' => Array("Pentax"),1094 'schema' => "Pentax", 1066 1095 'translatable'=> false, 1067 1096 'combiTag' => 0, … … 1072 1101 0x0004 => Array( 1073 1102 'tagName' => "PreviewOffset", 1074 ' group' => Array("Pentax"),1103 'schema' => "Pentax", 1075 1104 'translatable'=> false, 1076 1105 'combiTag' => 0, … … 1081 1110 0x0006 => Array( 1082 1111 'tagName' => "Date", 1083 ' group' => Array("Pentax"),1112 'schema' => "Pentax", 1084 1113 'translatable'=> false, 1085 1114 'combiTag' => 0, … … 1090 1119 0x0007 => Array( 1091 1120 'tagName' => "Time", 1092 ' group' => Array("Pentax"),1121 'schema' => "Pentax", 1093 1122 'translatable'=> false, 1094 1123 'combiTag' => 0, … … 1099 1128 0x0010 => Array( 1100 1129 'tagName' => "FocusPosition", 1101 ' group' => Array("Pentax"),1130 'schema' => "Pentax", 1102 1131 'translatable'=> false, 1103 1132 'combiTag' => 0, … … 1108 1137 0x0012 => Array( 1109 1138 'tagName' => "ExposureTime", 1110 ' group' => Array("Pentax"),1139 'schema' => "Pentax", 1111 1140 'translatable'=> false, 1112 1141 'combiTag' => 0, … … 1117 1146 0x0013 => Array( 1118 1147 'tagName' => "FNumber", 1119 ' group' => Array("Pentax"),1148 'schema' => "Pentax", 1120 1149 'translatable'=> false, 1121 1150 'combiTag' => 0, … … 1126 1155 0x0015 => Array( 1127 1156 'tagName' => "LightReading", 1128 ' group' => Array("Pentax"),1157 'schema' => "Pentax", 1129 1158 'translatable'=> false, 1130 1159 'combiTag' => 0, … … 1136 1165 0x0016 => Array( 1137 1166 'tagName' => "ExposureCompensation", 1138 ' group' => Array("Pentax"),1167 'schema' => "Pentax", 1139 1168 'translatable'=> false, 1140 1169 'combiTag' => 0, … … 1145 1174 0x0018 => Array( 1146 1175 'tagName' => "AutoBracketing", 1147 ' group' => Array("Pentax"),1176 'schema' => "Pentax", 1148 1177 'translatable'=> true, 1149 1178 'combiTag' => 0, … … 1154 1183 0x001b => Array( 1155 1184 'tagName' => "BlueBalance", 1156 ' group' => Array("Pentax"),1185 'schema' => "Pentax", 1157 1186 'translatable'=> false, 1158 1187 'combiTag' => 0, … … 1163 1192 0x001c => Array( 1164 1193 'tagName' => "RedBalance", 1165 ' group' => Array("Pentax"),1194 'schema' => "Pentax", 1166 1195 'translatable'=> false, 1167 1196 'combiTag' => 0, … … 1172 1201 0x001d => Array( 1173 1202 'tagName' => "FocalLength", 1174 ' group' => Array("Pentax"),1203 'schema' => "Pentax", 1175 1204 'translatable'=> false, 1176 1205 'combiTag' => 0, … … 1181 1210 0x001e => Array( 1182 1211 'tagName' => "DigitalZoom", 1183 ' group' => Array("Pentax"),1212 'schema' => "Pentax", 1184 1213 'translatable'=> false, 1185 1214 'combiTag' => 0, … … 1191 1220 0x0025 => Array( 1192 1221 'tagName' => "HometownDST", 1193 ' group' => Array("Pentax"),1222 'schema' => "Pentax", 1194 1223 'translatable'=> false, 1195 1224 'combiTag' => 0, … … 1200 1229 0x0026 => Array( 1201 1230 'tagName' => "DestinationDST", 1202 ' group' => Array("Pentax"),1231 'schema' => "Pentax", 1203 1232 'translatable'=> false, 1204 1233 'combiTag' => 0, … … 1209 1238 0x0027 => Array( 1210 1239 'tagName' => "DSPFirmwareVersion", 1211 ' group' => Array("Pentax"),1240 'schema' => "Pentax", 1212 1241 'translatable'=> false, 1213 1242 'combiTag' => 0, … … 1218 1247 0x0028 => Array( 1219 1248 'tagName' => "CPUFirmwareVersion", 1220 ' group' => Array("Pentax"),1249 'schema' => "Pentax", 1221 1250 'translatable'=> false, 1222 1251 'combiTag' => 0, … … 1227 1256 0x0029 => Array( 1228 1257 'tagName' => "FrameNumber", 1229 ' group' => Array("Pentax"),1258 'schema' => "Pentax", 1230 1259 'translatable'=> false, 1231 1260 'combiTag' => 0, … … 1236 1265 0x002d => Array( 1237 1266 'tagName' => "EffectiveLV", 1238 ' group' => Array("Pentax"),1267 'schema' => "Pentax", 1239 1268 'translatable'=> false, 1240 1269 'combiTag' => 0, … … 1245 1274 0x0038 => Array( 1246 1275 'tagName' => "ImageAreaOffset", 1247 ' group' => Array("Pentax"),1276 'schema' => "Pentax", 1248 1277 'translatable'=> false, 1249 1278 'combiTag' => 0, … … 1254 1283 0x0039 => Array( 1255 1284 'tagName' => "RawImageSize", 1256 ' group' => Array("Pentax"),1285 'schema' => "Pentax", 1257 1286 'translatable'=> false, 1258 1287 'combiTag' => 0, … … 1263 1292 0x003c => Array( 1264 1293 'tagName' => "AFPointsInFocus", 1265 ' group' => Array("Pentax"),1294 'schema' => "Pentax", 1266 1295 'translatable'=> false, 1267 1296 'combiTag' => 0, … … 1272 1301 0x003e => Array( 1273 1302 'tagName' => "PreviewImageBorders", 1274 ' group' => Array("Pentax"),1303 'schema' => "Pentax", 1275 1304 'translatable'=> false, 1276 1305 'combiTag' => 0, … … 1281 1310 0x0040 => Array( 1282 1311 'tagName' => "SensitivityAdjust", 1283 ' group' => Array("Pentax"),1312 'schema' => "Pentax", 1284 1313 'translatable'=> false, 1285 1314 'combiTag' => 0, … … 1290 1319 0x0041 => Array( 1291 1320 'tagName' => "DigitalFilter", 1292 ' group' => Array("Pentax"),1321 'schema' => "Pentax", 1293 1322 'translatable'=> false, 1294 1323 'combiTag' => 0, … … 1299 1328 0x0047 => Array( 1300 1329 'tagName' => "Temperature", 1301 ' group' => Array("Pentax"),1330 'schema' => "Pentax", 1302 1331 'translatable'=> false, 1303 1332 'combiTag' => 0, … … 1308 1337 0x0048 => Array( 1309 1338 'tagName' => "AELock", 1310 ' group' => Array("Pentax"),1339 'schema' => "Pentax", 1311 1340 'translatable'=> true, 1312 1341 'combiTag' => 0, … … 1317 1346 0x0049 => Array( 1318 1347 'tagName' => "NoiseReduction", 1319 ' group' => Array("Pentax"),1348 'schema' => "Pentax", 1320 1349 'translatable'=> true, 1321 1350 'combiTag' => 0, … … 1326 1355 0x004d => Array( 1327 1356 'tagName' => "FlashExposureCompensation", 1328 ' group' => Array("Pentax"),1357 'schema' => "Pentax", 1329 1358 'translatable'=> false, 1330 1359 'combiTag' => 0, … … 1335 1364 0x0050 => Array( 1336 1365 'tagName' => "ColorTemperature", 1337 ' group' => Array("Pentax"),1366 'schema' => "Pentax", 1338 1367 'translatable'=> false, 1339 1368 'combiTag' => 0, … … 1344 1373 0x005c => Array( 1345 1374 'tagName' => "ShakeReduction", 1346 ' group' => Array("Pentax"),1375 'schema' => "Pentax", 1347 1376 'translatable'=> false, 1348 1377 'combiTag' => 0, … … 1353 1382 0x005d => Array( 1354 1383 'tagName' => "ShutterCount", 1355 ' group' => Array("Pentax"),1384 'schema' => "Pentax", 1356 1385 'translatable'=> false, 1357 1386 'combiTag' => 0, … … 1362 1391 0x0072 => Array( 1363 1392 'tagName' => "AFAdjustment", 1364 ' group' => Array("Pentax"),1393 'schema' => "Pentax", 1365 1394 'translatable'=> false, 1366 1395 'combiTag' => 0, … … 1372 1401 0x0200 => Array( 1373 1402 'tagName' => "BlackPoint", 1374 ' group' => Array("Pentax"),1403 'schema' => "Pentax", 1375 1404 'translatable'=> false, 1376 1405 'combiTag' => 0, … … 1381 1410 0x0201 => Array( 1382 1411 'tagName' => "WhitePoint", 1383 ' group' => Array("Pentax"),1412 'schema' => "Pentax", 1384 1413 'translatable'=> false, 1385 1414 'combiTag' => 0, … … 1390 1419 0x0203 => Array( 1391 1420 'tagName' => "ColorMatrixA", 1392 ' group' => Array("Pentax"),1421 'schema' => "Pentax", 1393 1422 'translatable'=> false, 1394 1423 'combiTag' => 0, … … 1399 1428 0x0204 => Array( 1400 1429 'tagName' => "ColorMatrixB", 1401 ' group' => Array("Pentax"),1430 'schema' => "Pentax", 1402 1431 'translatable'=> false, 1403 1432 'combiTag' => 0, … … 1408 1437 0x0205 => Array( 1409 1438 'tagName' => "ShotInfo", 1410 ' group' => Array("Pentax"),1439 'schema' => "Pentax", 1411 1440 'translatable'=> false, 1412 1441 'combiTag' => 0, … … 1417 1446 0x0206 => Array( 1418 1447 'tagName' => "AEInfo", 1419 ' group' => Array("Pentax"),1448 'schema' => "Pentax", 1420 1449 'translatable'=> false, 1421 1450 'combiTag' => 0, … … 1426 1455 0x0207 => Array( 1427 1456 'tagName' => "LensInfo", 1428 ' group' => Array("Pentax"),1457 'schema' => "Pentax", 1429 1458 'translatable'=> false, 1430 1459 'combiTag' => 0, … … 1435 1464 0x0208 => Array( 1436 1465 'tagName' => "FlashInfo", 1437 ' group' => Array("Pentax"),1466 'schema' => "Pentax", 1438 1467 'translatable'=> false, 1439 1468 'combiTag' => 0, … … 1444 1473 0x0209 => Array( 1445 1474 'tagName' => "AEMeteringSegments", 1446 ' group' => Array("Pentax"),1475 'schema' => "Pentax", 1447 1476 'translatable'=> false, 1448 1477 'combiTag' => 0, … … 1453 1482 0x020a => Array( 1454 1483 'tagName' => "FlashADump", 1455 ' group' => Array("Pentax"),1484 'schema' => "Pentax", 1456 1485 'translatable'=> false, 1457 1486 'combiTag' => 0, … … 1462 1491 0x020b => Array( 1463 1492 'tagName' => "FlashBDump", 1464 ' group' => Array("Pentax"),1493 'schema' => "Pentax", 1465 1494 'translatable'=> false, 1466 1495 'combiTag' => 0, … … 1471 1500 0x020d => Array( 1472 1501 'tagName' => "WB_RGGBLevelsDaylight", 1473 ' group' => Array("Pentax"),1502 'schema' => "Pentax", 1474 1503 'translatable'=> false, 1475 1504 'combiTag' => 0, … … 1480 1509 0x020e => Array( 1481 1510 'tagName' => "WB_RGGBLevelsShade", 1482 ' group' => Array("Pentax"),1511 'schema' => "Pentax", 1483 1512 'translatable'=> false, 1484 1513 'combiTag' => 0, … … 1489 1518 0x020f => Array( 1490 1519 'tagName' => "WB_RGGBLevelsCloudy", 1491 ' group' => Array("Pentax"),1520 'schema' => "Pentax", 1492 1521 'translatable'=> false, 1493 1522 'combiTag' => 0, … … 1498 1527 0x0210 => Array( 1499 1528 'tagName' => "WB_RGGBLevelsTungsten", 1500 ' group' => Array("Pentax"),1529 'schema' => "Pentax", 1501 1530 'translatable'=> false, 1502 1531 'combiTag' => 0, … … 1507 1536 0x0211 => Array( 1508 1537 'tagName' => "WB_RGGBLevelsFluorescentD", 1509 ' group' => Array("Pentax"),1538 'schema' => "Pentax", 1510 1539 'translatable'=> false, 1511 1540 'combiTag' => 0, … … 1516 1545 0x0212 => Array( 1517 1546 'tagName' => "WB_RGGBLevelsFluorescentN", 1518 ' group' => Array("Pentax"),1547 'schema' => "Pentax", 1519 1548 'translatable'=> false, 1520 1549 'combiTag' => 0, … … 1525 1554 0x0213 => Array( 1526 1555 'tagName' => "WB_RGGBLevelsFluorescentW", 1527 ' group' => Array("Pentax"),1556 'schema' => "Pentax", 1528 1557 'translatable'=> false, 1529 1558 'combiTag' => 0, … … 1534 1563 0x0214 => Array( 1535 1564 'tagName' => "WB_RGGBLevelsFlash", 1536 ' group' => Array("Pentax"),1565 'schema' => "Pentax", 1537 1566 'translatable'=> false, 1538 1567 'combiTag' => 0, … … 1543 1572 0x0215 => Array( 1544 1573 'tagName' => "CameraInfo", 1545 ' group' => Array("Pentax"),1574 'schema' => "Pentax", 1546 1575 'translatable'=> false, 1547 1576 'combiTag' => 0, … … 1552 1581 0x0216 => Array( 1553 1582 'tagName' => "BatteryInfo", 1554 ' group' => Array("Pentax"),1583 'schema' => "Pentax", 1555 1584 'translatable'=> false, 1556 1585 'combiTag' => 0, … … 1561 1590 0x021b => Array( 1562 1591 'tagName' => "SaturationInfo", 1563 ' group' => Array("Pentax"),1592 'schema' => "Pentax", 1564 1593 'translatable'=> false, 1565 1594 'combiTag' => 0, … … 1570 1599 0x021f => Array( 1571 1600 'tagName' => "AFInfo", 1572 ' group' => Array("Pentax"),1601 'schema' => "Pentax", 1573 1602 'translatable'=> false, 1574 1603 'combiTag' => 0, … … 1579 1608 0x0220 => Array( 1580 1609 'tagName' => "HuffmanTable", 1581 ' group' => Array("Pentax"),1610 'schema' => "Pentax", 1582 1611 'translatable'=> false, 1583 1612 'combiTag' => 0, … … 1588 1617 0x0222 => Array( 1589 1618 'tagName' => "ColorInfo", 1590 ' group' => Array("Pentax"),1619 'schema' => "Pentax", 1591 1620 'translatable'=> false, 1592 1621 'combiTag' => 0, … … 1597 1626 0x0224 => Array( 1598 1627 'tagName' => "EVStepInfo", 1599 ' group' => Array("Pentax"),1628 'schema' => "Pentax", 1600 1629 'translatable'=> false, 1601 1630 'combiTag' => 0, … … 1606 1635 0x0229 => Array( 1607 1636 'tagName' => "SerialNumber", 1608 ' group' => Array("Pentax"),1637 'schema' => "Pentax", 1609 1638 'translatable'=> false, 1610 1639 'combiTag' => 0, … … 1615 1644 0x0230 => Array( 1616 1645 'tagName' => "FirmwareVersion", 1617 ' group' => Array("Pentax"),1646 'schema' => "Pentax", 1618 1647 'translatable'=> false, 1619 1648 'combiTag' => 0, … … 1624 1653 0x03fe => Array( 1625 1654 'tagName' => "DataDump", 1626 ' group' => Array("Pentax"),1655 'schema' => "Pentax", 1627 1656 'translatable'=> false, 1628 1657 'combiTag' => 0, … … 1633 1662 0x03ff => Array( 1634 1663 'tagName' => "UnknownInfo", 1635 ' group' => Array("Pentax"),1664 'schema' => "Pentax", 1636 1665 'translatable'=> false, 1637 1666 'combiTag' => 0, … … 1642 1671 0x0402 => Array( 1643 1672 'tagName' => "ToneCurve", 1644 ' group' => Array("Pentax"),1673 'schema' => "Pentax", 1645 1674 'translatable'=> false, 1646 1675 'combiTag' => 0, … … 1651 1680 0x0403 => Array( 1652 1681 'tagName' => "ToneCurves", 1653 ' group' => Array("Pentax"),1682 'schema' => "Pentax", 1654 1683 'translatable'=> false, 1655 1684 'combiTag' => 0, … … 1660 1689 0x0e00 => Array( 1661 1690 'tagName' => "PrintIM", 1662 ' group' => Array("Pentax"),1691 'schema' => "Pentax", 1663 1692 'translatable'=> false, 1664 1693 'combiTag' => 0, -
extensions/AMetaData/JpegMetaData/TagDefinitions/XmpTags.class.php
r4686 r4698 10 10 * 11 11 * 12 * +-----------------------------------------------------------------------+ 13 * | JpegMetaData - a PHP based Jpeg Metadata manager | 14 * +-----------------------------------------------------------------------+ 15 * | Copyright(C) 2010 Grum - http://www.grum.fr | 16 * +-----------------------------------------------------------------------+ 17 * | This program is free software; you can redistribute it and/or modify | 18 * | it under the terms of the GNU General Public License as published by | 19 * | the Free Software Foundation | 20 * | | 21 * | This program is distributed in the hope that it will be useful, but | 22 * | WITHOUT ANY WARRANTY; without even the implied warranty of | 23 * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 24 * | General Public License for more details. | 25 * | | 26 * | You should have received a copy of the GNU General Public License | 27 * | along with this program; if not, write to the Free Software | 28 * | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 29 * | USA. | 30 * +-----------------------------------------------------------------------+ 31 * 32 * 12 33 * ----------------------------------------------------------------------------- 13 * Known Xmp tags properties class 34 * 35 * The XmpTags is the definition of the XMP tags 36 * 14 37 * ----------------------------------------------------------------------------- 15 38 */ … … 1790 1813 'schema' => "Iptc4xmpCore", 1791 1814 ), 1792 1793 1794 1815 ); 1795 1816 1796 1797 1817 /** 1818 * XmpTags needs a specific constructor, allowing to extract exif & iptc 1819 * properties for some tags 1820 * 1821 */ 1798 1822 function __construct() 1799 1823 {
Note: See TracChangeset
for help on using the changeset viewer.