source: extensions/AMetaData/JpegMetaData/TagDefinitions/PentaxTags.class.php @ 4904

Last change on this file since 4904 was 4904, checked in by grum, 14 years ago

Optimize some memory leak and some bugged lines of code

  • Property svn:executable set to *
File size: 54.2 KB
Line 
1<?php
2/*
3 * --:: JPEG MetaDatas ::-------------------------------------------------------
4 *
5 *  Author    : Grum
6 *   email    : grum at piwigo.org
7 *   website  : http://photos.grum.fr
8 *
9 *   << May the Little SpaceFrog be with you ! >>
10 *
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 *
33 * -----------------------------------------------------------------------------
34 *
35 * The PentaxTags is the definition of the specific Pentax Exif tags
36 *
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 *
51 */
52
53  require_once(JPEG_METADATA_DIR."TagDefinitions/KnownTags.class.php");
54
55  /**
56   * Define the tags for Pentax camera
57   */
58  class PentaxTags extends KnownTags
59  {
60    protected $label = "Pentax specific tags";
61    protected $tags = Array(
62      /*
63       * tags with defined values
64       */
65
66      // ShootingMode, tag 0x0001
67      0x0001 => Array(
68        'tagName'     => "ShootingMode",
69        'schema'      => "Pentax",
70        'translatable'=> true,
71        'combiTag'    => 0,
72        'implemented' => true,
73        'tagValues'   => Array(
74          0 => "Auto",
75          1 => "Night-Scene",
76          2 => "Manual"
77        )
78      ), // < ShootingMode
79
80      // CameraModel, tag 0x0005
81      0x0005 => Array(
82        'tagName'     => "CameraModel",
83        'schema'      => "Pentax",
84        'translatable'=> false,
85        'combiTag'    => 0,
86        'implemented' => true,
87        'tagValues'   => Array(
88          0x0000d => "Optio 330/430",
89          0x12926 => "Optio 230",
90          0x12958 => "Optio 330GS",
91          0x12962 => "Optio 450/550",
92          0x1296c => "Optio S",
93          0x12994 => "*ist D",
94          0x129b2 => "Optio 33L",
95          0x129bc => "Optio 33LF",
96          0x129c6 => "Optio 33WR/43WR/555",
97          0x129d5 => "Optio S4",
98          0x12a02 => "Optio MX",
99          0x12a0c => "Optio S40",
100          0x12a16 => "Optio S4i",
101          0x12a34 => "Optio 30",
102          0x12a52 => "Optio S30",
103          0x12a66 => "Optio 750Z",
104          0x12a70 => "Optio SV",
105          0x12a75 => "Optio SVi",
106          0x12a7a => "Optio X",
107          0x12a8e => "Optio S5i",
108          0x12a98 => "Optio S50",
109          0x12aa2 => "*ist DS",
110          0x12ab6 => "Optio MX4",
111          0x12ac0 => "Optio S5n",
112          0x12aca => "Optio WP",
113          0x12afc => "Optio S55",
114          0x12b10 => "Optio S5z",
115          0x12b1a => "*ist DL",
116          0x12b24 => "Optio S60",
117          0x12b2e => "Optio S45",
118          0x12b38 => "Optio S6",
119          0x12b4c => "Optio WPi",
120          0x12b56 => "BenQ DC X600",
121          0x12b60 => "*ist DS2",
122          0x12b62 => "Samsung GX-1S",
123          0x12b6a => "Optio A10",
124          0x12b7e => "*ist DL2",
125          0x12b80 => "Samsung GX-1L",
126          0x12b9c => "K100D",
127          0x12b9d => "K110D",
128          0x12ba2 => "K100D Super",
129          0x12bb0 => "Optio T10",
130          0x12be2 => "Optio W10",
131          0x12bf6 => "Optio M10",
132          0x12c1e => "K10D",
133          0x12c20 => "Samsung GX10",
134          0x12c28 => "Optio S7",
135          0x12c2d => "Optio L20",
136          0x12c32 => "Optio M20",
137          0x12c3c => "Optio W20",
138          0x12c46 => "Optio A20",
139          0x12c8c => "Optio M30",
140          0x12c78 => "Optio E30",
141          0x12c7d => "Optio E35",
142          0x12c82 => "Optio T30",
143          0x12c96 => "Optio W30",
144          0x12ca0 => "Optio A30",
145          0x12cb4 => "Optio E40",
146          0x12cbe => "Optio M40",
147          0x12cc8 => "Optio Z10",
148          0x12cdc => "Optio S10",
149          0x12ce6 => "Optio A40",
150          0x12cf0 => "Optio V10",
151          0x12cd2 => "K20D",
152          0x12cdc => "Optio S10",
153          0x12ce6 => "Optio A40",
154          0x12cf0 => "Optio V10",
155          0x12cfa => "K200D",
156          0x12d04 => "Optio S12", //from exiftool
157          0x12d0e => "Optio E50",
158          0x12d18 => "Optio M50",
159          0x12d2c => "Optio V20", //from exiftool
160          0x12d40 => "Optio W60", //from exiftool
161          0x12d4a => "Optio M60", //from exiftool
162          0x12d68 => "Optio E60", //from exiftool
163          0x12d72 => "K2000", //from exiftool
164          0x12d73 => "K-m", //from exiftool
165          0x12d86 => "Optio P70", //from exiftool
166          0x12d9a => "Optio E70", //from exiftool
167          0x12dae => "X70", //from exiftool
168          0x12db8 => "K-7", //from exiftool
169          0x12dcc => "Optio W80", //from exiftool
170          0x12dea => "Optio P80", //from exiftool
171          0x12df4 => "Optio WS80", //from exiftool
172          0x12dfe => "K-x", //from exiftool
173            )
174      ), // < CameraModel
175
176      // Quality, tag 0x0008
177      0x0008 => Array(
178        'tagName'     => "Quality",
179        'schema'      => "Pentax",
180        'translatable'=> true,
181        'combiTag'    => 0,
182        'implemented' => true,
183        'tagValues'   => Array(
184          0 => "Good",
185          1 => "Better",
186          2 => "Best",
187          3 => "TIFF",
188          4 => "RAW",
189          5 => "Premium"
190        )
191      ), // < Quality
192
193
194      // Size, tag 0x0009
195      0x0009 => Array(
196        'tagName'     => "Size",
197        'schema'      => "Pentax",
198        'translatable'=> true,
199        'combiTag'    => 0,
200        'implemented' => true,
201        'tagValues'   => Array(
202          0 => "640x480",
203          1 => "Full",
204          2 => "1024x768",
205          3 => "1280x960",
206          4 => "1600x1200",
207          5 => "2048x1536",
208          8 => "2560x1920 or 2304x1728",
209          9 => "3072x2304",
210          10 => "3264x2448",
211          19 => "320x240",
212          20 => "2288x1712",
213          21 => "2592x1944",
214          22 => "2304x1728 or 2592x1944",
215          23 => "3056x2296",
216          25 => "2816x2212 or 2816x2112",
217          27 => "3648x2736",
218          29 => "4000x3000",
219          37 => "3008x2000"
220        )
221      ), // < Size
222
223      // PictureMode, tag 0x000b, from exiftool
224      0x000b => Array(
225        'tagName'     => "PictureMode",
226        'schema'      => "Pentax",
227        'translatable'=> true,
228        'combiTag'    => 0,
229        'implemented' => true,
230        'tagValues'   => Array(
231          0  => "Program",
232          1  => "Shutter Speed Priority",
233          2  => "Program AE",
234          3  => "Manual",
235          5  => "Portrait",
236          6  => "Landscape",
237          8  => "Sport",
238          9  => "Night Scene",
239          11 => "Soft",
240          12 => "Surf & Snow",
241          13 => "Candlelight",
242          14 => "Autumn",
243          15 => "Macro",
244          17 => "Fireworks",
245          18 => "Text",
246          19 => "Panorama",
247          30 => "Self Portrait",
248          31 => "Illustrations",
249          33 => "Digital Filter",
250          35 => "Night Scene Portrait",
251          37 => "Museum",
252          38 => "Food",
253          39 => "Underwater",
254          40 => "Green Mode",
255          49 => "Light Pet",
256          50 => "Dark Pet",
257          51 => "Medium Pet",
258          53 => "Underwater",
259          54 => "Candlelight",
260          55 => "Natural Skin Tone",
261          56 => "Synchro Sound Record",
262          58 => "Frame Composite",
263          59 => "Report",
264          60 => "Kids",
265          61 => "Blur Reduction",
266          65 => "Half-length Portrait",
267          255=> "Digital Filter?",
268        )
269      ),
270
271      // Flash, tag 0x000c
272      0x000c => Array(
273        'tagName'     => "Flash",
274        'schema'      => "Pentax",
275        'translatable'=> true,
276        'combiTag'    => 0,
277        'implemented' => true,
278        'tagValues.special'   => Array(
279          Array(
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          ),
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"
306          )
307        )
308      ), // < Flash
309
310      // Focus, tag 0x000d
311      0x000d => Array(
312        'tagName'     => "Focus",
313        'schema'      => "Pentax",
314        'translatable'=> true,
315        'combiTag'    => 0,
316        'implemented' => true,
317        'tagValues'   => Array(
318          0 => "Normal",
319          1 => "Macro",
320          2 => "Infinity",
321          3 => "Manual",
322          4 => "Super Macro", // from exiftool
323          5 => "Pan Focus",
324          16 => "AF-S",
325          17 => "AF-C",
326          18 => "AF-A", // from exiftool
327        )
328      ), // < Focus
329
330      // AFPoint, tag 0x000e
331      0x000e => Array(
332        'tagName'     => "AFPoint",
333        'schema'      => "Pentax",
334        'translatable'=> true,
335        'combiTag'    => 0,
336        'implemented' => true,
337        'tagValues'   => Array(
338          0xffff => "Auto",
339          0xfffe => "Fixed Center",
340          0xfffd => "Automatic Tracking AF", //from exiftool
341          0xfffc => "Face Recognition AF", //from exiftool
342          1 => "Upper-left",
343          2 => "Top",
344          3 => "Upper-right",
345          4 => "Left",
346          5 => "Mid-left",
347          6 => "Center",
348          7 => "Mid-right",
349          8 => "Right",
350          9 => "Lower-left",
351          10 => "Bottom",
352          11 => "Lower-right"
353        )
354      ), // < AFPoint
355
356      // AFPointsInFocus, tag 0x000f, from exiftool
357      0x000f => Array(
358        'tagName'     => "AFPointsInFocus",
359        'schema'      => "Pentax",
360        'translatable'=> true,
361        'combiTag'    => 0,
362        'implemented' => true,
363        'tagValues'   => Array(
364          0xffff => "None",
365          0 => "Fixed Center or Multiple",
366          1 => "Top-left",
367          2 => "Top-center",
368          3 => "Top-right",
369          4 => "Left",
370          5 => "Center",
371          6 => "Right",
372          7 => "Bottom-left",
373          8 => "Bottom-center",
374          9 => "Bottom-right",
375        )
376      ),
377
378      // ISO, tag 0x0014
379      0x0014 => Array(
380        'tagName'     => "ISO",
381        'schema'      => "Pentax",
382        'translatable'=> false,
383        'combiTag'    => 0,
384        'implemented' => true,
385        'tagValues'   => Array(
386          3 => "50",
387          4 => "64",
388          5 => "80",
389          6 => "100",
390          7 => "125",
391          8 => "160",
392          9 => "200",
393          10 => "250",
394          11 => "320",
395          12 => "400",
396          13 => "500",
397          14 => "640",
398          15 => "800",
399          16 => "1000",
400          17 => "1250",
401          18 => "1600",
402          19 => "2000", //from exiftool
403          20 => "2500", //from exiftool
404          21 => "3200",
405          22 => "4000", //from exiftool
406          23 => "5000", //from exiftool
407          24 => "6400", //from exiftool
408
409          50 => "50",
410          100 => "100",
411          200 => "200",
412          258 => "50", //from exiftool
413          259 => "70", //from exiftool
414          260 => "100", //from exiftool
415          261 => "140", //from exiftool
416          262 => "200", //from exiftool
417          263 => "280", //from exiftool
418          264 => "400", //from exiftool
419          265 => "560", //from exiftool
420          266 => "800", //from exiftool
421          267 => "1100", //from exiftool
422          268 => "1600", //from exiftool
423          269 => "2200", //from exiftool
424          270 => "3200", //from exiftool
425          400 => "400",
426          800 => "800",
427          1600 => "1600",
428          3200 => "3200",
429        )
430      ), // < ISO
431
432      // MeteringMode, tag 0x0017
433      0x0017 => Array(
434        'tagName'     => "MeteringMode",
435        'schema'      => "Pentax",
436        'translatable'=> true,
437        'combiTag'    => 0,
438        'implemented' => true,
439        'tagValues'   => Array(
440          0 => "Multi Segment",
441          1 => "Center Weighted",
442          2 => "Spot"
443        )
444      ), // < MeteringMode
445
446      // WhiteBalance, tag 0x0019
447      0x0019 => Array(
448        'tagName'     => "WhiteBalance",
449        'schema'      => "Pentax",
450        'translatable'=> true,
451        'combiTag'    => 0,
452        'implemented' => true,
453        'tagValues'   => Array(
454          0 => "Auto",
455          1 => "Daylight",
456          2 => "Shade",
457          3 => "Fluorescent",
458          4 => "Tungsten",
459          5 => "Manual",
460          6 => "DaylightFluorescent",
461          7 => "DaywhiteFluorescent",
462          8 => "WhiteFluorescent",
463          9 => "Flash",
464          10 => "Cloudy",
465          17 => "Kelvin", //from exiftool
466          65534 => "Unknown",
467          65535 => "User Selected"
468        )
469      ), // < WhiteBalance
470
471      // WhiteBalanceMode, tag 0x001a
472      0x001a => Array(
473        'tagName'     => "WhiteBalanceMode",
474        'schema'      => "Pentax",
475        'translatable'=> true,
476        'combiTag'    => 0,
477        'implemented' => true,
478        'tagValues'   => Array(
479          1 => "Auto (Daylight)",
480          2 => "Auto (Shade)",
481          3 => "Auto (Flash)",
482          4 => "Auto (Tungsten)",
483          6 => "Auto (DaylightFluorescent)", // rom exiftool
484          7 => "Auto (DaywhiteFluorescent)",
485          8 => "Auto (WhiteFluorescent)",
486          10 => "Auto (Cloudy)",
487          0xffff => "User-Selected",
488          0xfffe => "Preset (Fireworks?)"
489        )
490      ), // < < WhiteBalanceMode
491
492      // Saturation, tag 0x001f
493      0x001f => Array(
494        'tagName'     => "Saturation",
495        'schema'      => "Pentax",
496        'translatable'=> true,
497        'combiTag'    => 0,
498        'implemented' => true,
499        'tagValues'   => Array(
500          0 => "Low",
501          1 => "Normal",
502          2 => "High",
503          3 => "Med Low",
504          4 => "Med High",
505          5 => "Very Low",
506          6 => "Very High",
507          65535 => "None", //from exiftool
508        )
509      ), // < Saturation
510
511      // Contrast, tag 0x0020
512      0x0020 => Array(
513        'tagName'     => "Contrast",
514        'schema'      => "Pentax",
515        'translatable'=> true,
516        'combiTag'    => 0,
517        'implemented' => true,
518        'tagValues'   => Array(
519          0 => "Low",
520          1 => "Normal",
521          2 => "High",
522          3 => "Med Low",
523          4 => "Med High",
524          5 => "Very Low",
525          6 => "Very High"
526        )
527      ), // < Contrast
528
529      // Sharpness, tag 0x0021
530      0x0021 => Array(
531        'tagName'     => "Sharpness",
532        'schema'      => "Pentax",
533        'translatable'=> true,
534        'combiTag'    => 0,
535        'implemented' => true,
536        'tagValues'   => Array(
537          0 => "Soft",
538          1 => "Normal",
539          2 => "Hard",
540          3 => "Med Soft",
541          4 => "Med Hard",
542          5 => "Very Soft",
543          6 => "Very Hard"
544        )
545      ), // < Sharpness
546
547      // WorldTimeLocation, tag 0x0022
548      0x0022 => Array(
549        'tagName'     => "WorldTimeLocation",
550        'schema'      => "Pentax",
551        'translatable'=> true,
552        'combiTag'    => 0,
553        'implemented' => true,
554        'tagValues'   => Array(
555          0 => "Home town",
556          1 => "Destination"
557        )
558      ), // < Location
559
560      // HomeCityName, tag 0x0023
561      0x0023 => Array(
562        'tagName'     => "HomeCityName",
563        'schema'      => "Pentax",
564        'translatable'=> true,
565        'combiTag'    => 0,
566        'implemented' => true,
567        'tagValues'   => Array(
568          0 => "Pago Pago",
569          1 => "Honolulu",
570          2 => "Anchorage",
571          3 => "Vancouver",
572          4 => "San Fransisco",
573          5 => "Los Angeles",
574          6 => "Calgary",
575          7 => "Denver",
576          8 => "Mexico City",
577          9 => "Chicago",
578          10 => "Miami",
579          11 => "Toronto",
580          12 => "New York",
581          13 => "Santiago",
582          14 => "Caracus",
583          15 => "Halifax",
584          16 => "Buenos Aires",
585          17 => "Sao Paulo",
586          18 => "Rio de Janeiro",
587          19 => "Madrid",
588          20 => "London",
589          21 => "Paris",
590          22 => "Milan",
591          23 => "Rome",
592          24 => "Berlin",
593          25 => "Johannesburg",
594          26 => "Istanbul",
595          27 => "Cairo",
596          28 => "Jerusalem",
597          29 => "Moscow",
598          30 => "Jeddah",
599          31 => "Tehran",
600          32 => "Dubai",
601          33 => "Karachi",
602          34 => "Kabul",
603          35 => "Male",
604          36 => "Delhi",
605          37 => "Colombo",
606          38 => "Kathmandu",
607          39 => "Dacca",
608          40 => "Yangon",
609          41 => "Bangkok",
610          42 => "Kuala Lumpur",
611          43 => "Vientiane",
612          44 => "Singapore",
613          45 => "Phnom Penh",
614          46 => "Ho Chi Minh",
615          47 => "Jakarta",
616          48 => "Hong Kong",
617          49 => "Perth",
618          50 => "Beijing",
619          51 => "Shanghai",
620          52 => "Manila",
621          53 => "Taipei",
622          54 => "Seoul",
623          55 => "Adelaide",
624          56 => "Tokyo",
625          57 => "Guam",
626          58 => "Sydney",
627          59 => "Noumea",
628          60 => "Wellington",
629          61 => "Auckland",
630          62 => "Lima",
631          63 => "Dakar",
632          64 => "Algiers",
633          65 => "Helsinki",
634          66 => "Athens",
635          67 => "Nairobi",
636          68 => "Amsterdam",
637          69 => "Stockholm",
638          70 => "Lisbon",
639          71 => "Copenhagen", // from exiftool
640        )
641      ), // < City names
642
643      // DestinationCityName, tag 0x0024
644      0x0024 => Array(
645        'tagName'     => "DestinationCityName",
646        'schema'      => "Pentax",
647        'translatable'=> true,
648        'combiTag'    => 0,
649        'implemented' => true,
650        'tagValues'   => Array(
651          0 => "Pago Pago",
652          1 => "Honolulu",
653          2 => "Anchorage",
654          3 => "Vancouver",
655          4 => "San Fransisco",
656          5 => "Los Angeles",
657          6 => "Calgary",
658          7 => "Denver",
659          8 => "Mexico City",
660          9 => "Chicago",
661          10 => "Miami",
662          11 => "Toronto",
663          12 => "New York",
664          13 => "Santiago",
665          14 => "Caracus",
666          15 => "Halifax",
667          16 => "Buenos Aires",
668          17 => "Sao Paulo",
669          18 => "Rio de Janeiro",
670          19 => "Madrid",
671          20 => "London",
672          21 => "Paris",
673          22 => "Milan",
674          23 => "Rome",
675          24 => "Berlin",
676          25 => "Johannesburg",
677          26 => "Istanbul",
678          27 => "Cairo",
679          28 => "Jerusalem",
680          29 => "Moscow",
681          30 => "Jeddah",
682          31 => "Tehran",
683          32 => "Dubai",
684          33 => "Karachi",
685          34 => "Kabul",
686          35 => "Male",
687          36 => "Delhi",
688          37 => "Colombo",
689          38 => "Kathmandu",
690          39 => "Dacca",
691          40 => "Yangon",
692          41 => "Bangkok",
693          42 => "Kuala Lumpur",
694          43 => "Vientiane",
695          44 => "Singapore",
696          45 => "Phnom Penh",
697          46 => "Ho Chi Minh",
698          47 => "Jakarta",
699          48 => "Hong Kong",
700          49 => "Perth",
701          50 => "Beijing",
702          51 => "Shanghai",
703          52 => "Manila",
704          53 => "Taipei",
705          54 => "Seoul",
706          55 => "Adelaide",
707          56 => "Tokyo",
708          57 => "Guam",
709          58 => "Sydney",
710          59 => "Noumea",
711          60 => "Wellington",
712          61 => "Auckland",
713          62 => "Lima",
714          63 => "Dakar",
715          64 => "Algiers",
716          65 => "Helsinki",
717          66 => "Athens",
718          67 => "Nairobi",
719          68 => "Amsterdam",
720          69 => "Stockholm",
721          70 => "Lisbon",
722          71 => "Copenhagen", // from exiftool
723        )
724      ), // < City names
725
726
727      // ImageProcessing, tag 0x0032, combi-tag 4 bytes
728      0x0032 => Array(
729        'tagName'     => "ImageProcessing",
730        'schema'      => "Pentax",
731        'translatable'=> true,
732        'combiTag'    => 4,
733        'implemented' => true,
734        'tagValues'   => Array(
735          0x00000000 => "Unprocessed",
736          0x00000004 => "Digital Filter",
737          0x02000000 => "Cropped",
738          0x04000000 => "Color Filter",
739          0x10000000 => "Frame Synthesis?"
740        )
741      ), // < ImageProcessing
742
743
744      // PictureMode, tag 0x0033, combi-tag 3 bytes
745      0x0033 => Array(
746        'tagName'     => "PictureMode",
747        'schema'      => "Pentax",
748        'translatable'=> true,
749        'combiTag'    => 3,
750        'implemented' => true,
751        'tagValues'   => Array(
752          0x000000 => "Program",
753          0x000100 => "Hi-speed Program", // from exiftool
754          0x000200 => "DOF Program", // from exiftool
755          0x000300 => "MTF Program",
756          0x000400 => "Standard",
757          0x000500 => "Portrait",
758          0x000600 => "Landscape",
759          0x000700 => "Macro",
760          0x000800 => "Sport",
761          0x000900 => "Night Scene Portrait",
762          0x000a00 => "No Flash",
763        /* SCN modes (menu-selected) */
764          0x000b00 => "Night Scene",
765          0x000c00 => "Surf & Snow",
766          0x000d00 => "Text",
767          0x000e00 => "Sunset",
768          0x000f00 => "Kids",
769          0x001000 => "Pet",
770          0x001100 => "Candlelight",
771          0x001200 => "Museum",
772          0x001300 => "Food", //from exiftool
773          0x001400 => "Stage Lighting", //from exiftool
774          0x001500 => "Night Snap", //from exiftool
775        /* AUTO PICT modes (auto-selected) */
776          0x010400 => "Auto PICT (Standard)",
777          0x010500 => "Auto PICT (Portrait)",
778          0x010600 => "Auto PICT (Landscape)",
779          0x010700 => "Auto PICT (Macro)",
780          0x010800 => "Auto PICT (Sport)",
781        /* Manual dial modes */
782          0x020000 => "Program AE",
783          0x030000 => "Green Mode",
784          0x040000 => "Shutter Speed Priority",
785          0x050000 => "Aperture Priority",
786          0x080000 => "Manual",
787          0x090000 => "Bulb",
788        /* *istD modes */
789          0x020001 => "Program AE",
790          0x020101 => "Hi-speed Program",
791          0x020201 => "DOF Program",
792          0x020301 => "MTF Program",
793          0x030001 => "Green Mode",
794          0x040001 => "Shutter Speed Priority",
795          0x050001 => "Aperture Priority",
796          0x060001 => "Program Tv Shift",
797          0x070001 => "Program Av Shift",
798          0x080001 => "Manual",
799          0x090001 => "Bulb",
800          0x0a0001 => "Aperture Priority (Off-Auto-Aperture)",
801          0x0b0001 => "Manual (Off-Auto-Aperture)",
802          0x0c0001 => "Bulb (Off-Auto-Aperture)",
803        /* K10D modes */
804          0x060000 => "Shutter Priority",
805          0x0d0000 => "Shutter & Aperture Priority AE, 1/2 EV steps",
806          0x0d0001 => "Shutter & Aperture Priority AE, 1/3 EV steps",
807          0x0f0000 => "Sensitivity Priority AE, 1/2 EV steps",
808          0x0f0001 => "Sensitivity Priority AE, 1/3 EV steps",
809          0x100000 => "Flash X-Sync Speed AE, 1/2 EV steps",
810          0x100001 => "Flash X-Sync Speed AE, 1/3 EV steps",
811        /* K-7 , K-x */
812          0xff0000 => "Video (30 fps)", // from exiftool
813          0xff0400 => "Video (24 fps)", // from exiftool
814        /* other modes */
815          0x000001 => "Program"
816        )
817      ), // < PictureMode
818
819
820      // DriveMode, tag 0x0034, combi-tag 4 bytes
821      0x0034 => Array(
822        'tagName'     => "DriveMode",
823        'schema'      => "Pentax",
824        'translatable'=> true,
825        'combiTag'    => 4,
826        'implemented' => true,
827        'tagValues'   => Array(
828          0x00000000 => "Single-frame;No timer;Shutter button;Single exposure",
829          0x01000000 => "Continuous",
830          0x02000000 => "Continuous (Hi)",
831          0x03000000 => "Burst",
832          0xff000000 => "Video", // from exiftool
833          0x00010000 => "Self-timer (12 sec)",
834          0x00020000 => "Self-timer (2 sec)",
835          0x00ff0000 => "N/A", //from exiftool (K-x ?)
836          0x00000100 => "Remote Control (3 sec)",
837          0x00000200 => "Remote Control",
838          0x00000001 => "Multiple Exposure",
839          0x000000ff => "Video" //from exiftool
840        )
841      ), // < DriveMode
842
843
844      // ColorSpace, tag 0x0037
845      0x0037 => Array(
846        'tagName'     => "ColorSpace",
847        'schema'      => "Pentax",
848        'translatable'=> false,
849        'combiTag'    => 0,
850        'implemented' => true,
851        'tagValues'   => Array(
852          0 => "sRGB",
853          1 => "Adobe RGB"
854        )
855      ), // < ColorSpace
856
857      // LensType, tag 0x003f, combi-tag 2 bytes
858      0x003f => Array(
859        'tagName'     => "LensType",
860        'schema'      => "Pentax",
861        'translatable'=> true,
862        'combiTag'    => 2,
863        'implemented' => true,
864        'tagValues'   => Array(
865          0x0000 => "M-42 or No Lens",
866          0x0100 => "K,M Lens",
867          0x0200 => "A Series Lens",
868          0x0300 => "SIGMA",
869          0x0311 => "smc PENTAX-FA SOFT 85mm F2.8",
870          0x0312 => "smc PENTAX-F 1.7X AF ADAPTER",
871          0x0313 => "smc PENTAX-F 24-50mm F4",
872          0x0314 => "smc PENTAX-F 35-80mm F4-5.6",
873          0x0315 => "smc PENTAX-F 80-200mm F4.7-5.6",
874          0x0316 => "smc PENTAX-F FISH-EYE 17-28mm F3.5-4.5",
875          0x0317 => "smc PENTAX-F 100-300mm F4.5-5.6",
876          0x0318 => "smc PENTAX-F 35-135mm F3.5-4.5",
877          0x0319 => "smc PENTAX-F 35-105mm F4-5.6 or SIGMA or Tokina",
878          0x031a => "smc PENTAX-F* 250-600mm F5.6 ED[IF]",
879          0x031b => "smc PENTAX-F 28-80mm F3.5-4.5",
880          0x031c => "smc PENTAX-F 35-70mm F3.5-4.5",
881          0x031d => "PENTAX-F 28-80mm F3.5-4.5 or SIGMA AF 18-125mm F3.5-5.6 DC",
882          0x031e => "PENTAX-F 70-200mm F4-5.6",
883          0x031f => "smc PENTAX-F 70-210mm F4-5.6",
884          0x0320 => "smc PENTAX-F 50mm F1.4",
885          0x0321 => "smc PENTAX-F 50mm F1.7",
886          0x0322 => "smc PENTAX-F 135mm F2.8 [IF]",
887          0x0323 => "smc PENTAX-F 28mm F2.8",
888          0x0324 => "SIGMA 20mm F1.8 EX DG ASPHERICAL RF",
889          0x0326 => "smc PENTAX-F* 300mm F4.5 ED[IF]",
890          0x0327 => "smc PENTAX-F* 600mm F4 ED[IF]",
891          0x0328 => "smc PENTAX-F MACRO 100mm F2.8",
892          0x0329 => "smc PENTAX-F MACRO 50mm F2.8 or Sigma 50mm F2,8 MACRO",
893          0x032c => "Tamron 35-90mm F4 AF or various SIGMA models",
894          0x032e => "SIGMA APO 70-200mm F2.8 EX",
895          0x0332 => "smc PENTAX-FA 28-70mm F4 AL",
896          0x0333 => "SIGMA 28mm F1.8 EX DG ASPHERICAL MACRO",
897          0x0334 => "smc PENTAX-FA 28-200mm F3.8-5.6 AL[IF]",
898          0x0335 => "smc PENTAX-FA 28-80mm F3.5-5.6 AL",
899          0x03f7 => "smc PENTAX-DA FISH-EYE 10-17mm F3.5-4.5 ED[IF]",
900          0x03f8 => "smc PENTAX-DA 12-24mm F4 ED AL[IF]",
901          0x03fa => "smc PENTAX-DA 50-200mm F4-5.6 ED",
902          0x03fb => "smc PENTAX-DA 40mm F2.8 Limited",
903          0x03fc => "smc PENTAX-DA 18-55mm F3.5-5.6 AL",
904          0x03fd => "smc PENTAX-DA 14mm F2.8 ED[IF]",
905          0x03fe => "smc PENTAX-DA 16-45mm F4 ED AL",
906          0x03ff => "SIGMA",
907          0x0401 => "smc PENTAX-FA SOFT 28mm F2.8",
908          0x0402 => "smc PENTAX-FA 80-320mm F4.5-5.6",
909          0x0403 => "smc PENTAX-FA 43mm F1.9 Limited",
910          0x0406 => "smc PENTAX-FA 35-80mm F4-5.6",
911          0x040c => "smc PENTAX-FA 50mm F1.4",
912          0x040f => "smc PENTAX-FA 28-105mm F4-5.6 [IF]",
913          0x0410 => "TAMRON AF 80-210mm F4-5.6 (178D)",
914          0x0413 => "TAMRON SP AF 90mm F2.8 (172E)",
915          0x0414 => "smc PENTAX-FA 28-80mm F3.5-5.6",
916          0x0416 => "TOKINA 28-80mm F3.5-5.6",
917          0x0417 => "smc PENTAX-FA 20-35mm F4 AL",
918          0x0418 => "smc PENTAX-FA 77mm F1.8 Limited",
919          0x0419 => "TAMRON SP AF 14mm F2.8",
920          0x041a => "smc PENTAX-FA MACRO 100mm F3.5",
921          0x041b => "TAMRON AF28-300mm F/3.5-6.3 LD Aspherical[IF] MACRO (285D)",
922          0x041c => "smc PENTAX-FA 35mm F2 AL",
923          0x041d => "TAMRON AF 28-200mm F/3.8-5.6 LD Super II MACRO (371D)",
924          0x0422 => "smc PENTAX-FA 24-90mm F3.5-4.5 AL[IF]",
925          0x0423 => "smc PENTAX-FA 100-300mm F4.7-5.8",
926          0x0424 => "TAMRON AF70-300mm F/4-5.6 LD MACRO",
927          0x0425 => "TAMRON SP AF 24-135mm F3.5-5.6 AD AL (190D)",
928          0x0426 => "smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]",
929          0x0427 => "smc PENTAX-FA 31mm F1.8AL Limited",
930          0x0429 => "TAMRON AF 28-200mm Super Zoom F3.8-5.6 Aspherical XR [IF] MACRO (A03)",
931          0x042b => "smc PENTAX-FA 28-90mm F3.5-5.6",
932          0x042c => "smc PENTAX-FA J 75-300mm F4.5-5.8 AL",
933          0x042d => "TAMRON 28-300mm F3.5-6.3 Ultra zoom XR",
934          0x042e => "smc PENTAX-FA J 28-80mm F3.5-5.6 AL",
935          0x042f => "smc PENTAX-FA J 18-35mm F4-5.6 AL",
936          0x0431 => "TAMRON SP AF 28-75mm F2.8 XR Di (A09)",
937          0x0433 => "smc PENTAX-D FA 50mm F2.8 MACRO",
938          0x0434 => "smc PENTAX-D FA 100mm F2.8 MACRO",
939          0x044b => "Tamron SP AF 70-200mm F2.8 Di LD [IF] Macro (A001)", // from exiftool
940          0x04e5 => "smc PENTAX-DA 18-55mm F3.5-5.6 AL II", // from exiftool
941          0x04e6 => "Tamron SP AF 17-50mm F2.8 XR Di II", // from exiftool
942          0x04e7 => "smc PENTAX-DA 18-250mm F3.5-6.3 ED AL [IF]", // from exiftool
943          0x04ed => "Samsung/Schneider D-XENOGON 10-17mm F3.5-4.5", // from exiftool
944          0x04ef => "Samsung D-XENON 12-24mm F4 ED AL [IF]", // from exiftool
945          0x04f3 => "smc PENTAX-DA 70mm F2.4 Limited", // from exiftool
946          0x04f4 => "smc PENTAX-DA 21mm F3.2 AL Limited",
947          0x04f5 => "Schneider D-XENON 50-200mm",
948          0x04f6 => "Schneider D-XENON 18-55mm",
949          0x04f7 => "smc PENTAX-DA 10-17mm F3.5-4.5 ED [IF] Fisheye zoom",
950          0x04f8 => "smc PENTAX-DA 12-24mm F4 ED AL [IF]",
951          0x04f9 => "TAMRON XR DiII 18-200mm F3.5-6.3 (A14)",
952          0x04fa => "smc PENTAX-DA 50-200mm F4-5.6 ED",
953          0x04fb => "smc PENTAX-DA 40mm F2.8 Limited",
954          0x04fc => "smc PENTAX-DA 18-55mm F3.5-5.6 AL",
955          0x04fd => "smc PENTAX-DA 14mm F2.8 ED[IF]",
956          0x04fe => "smc PENTAX-DA 16-45mm F4 ED AL",
957          0x0501 => "smc PENTAX-FA* 24mm F2 AL[IF]",
958          0x0502 => "smc PENTAX-FA 28mm F2.8 AL",
959          0x0503 => "smc PENTAX-FA 50mm F1.7",
960          0x0504 => "smc PENTAX-FA 50mm F1.4",
961          0x0505 => "smc PENTAX-FA* 600mm F4 ED[IF]",
962          0x0506 => "smc PENTAX-FA* 300mm F4.5 ED[IF]",
963          0x0507 => "smc PENTAX-FA 135mm F2.8 [IF]",
964          0x0508 => "smc PENTAX-FA MACRO 50mm F2.8",
965          0x0509 => "smc PENTAX-FA MACRO 100mm F2.8",
966          0x050a => "smc PENTAX-FA* 85mm F1.4 [IF]",
967          0x050b => "smc PENTAX-FA* 200mm F2.8 ED[IF]",
968          0x050c => "smc PENTAX-FA 28-80mm F3.5-4.7",
969          0x050d => "smc PENTAX-FA 70-200mm F4-5.6",
970          0x050e => "smc PENTAX-FA* 250-600mm F5.6 ED[IF]",
971          0x050f => "smc PENTAX-FA 28-105mm F4-5.6",
972          0x0510 => "smc PENTAX-FA 100-300mm F4.5-5.6",
973          0x0562 => "smc PENTAX-FA 100-300mm F4.5-5.6", //from exiftool
974          0x0601 => "smc PENTAX-FA* 85mm F1.4[IF]",
975          0x0602 => "smc PENTAX-FA* 200mm F2.8 ED[IF]",
976          0x0603 => "smc PENTAX-FA* 300mm F2.8 ED[IF]",
977          0x0604 => "smc PENTAX-FA* 28-70mm F2.8 AL",
978          0x0605 => "smc PENTAX-FA* 80-200mm F2.8 ED[IF]",
979          0x0606 => "smc PENTAX-FA* 28-70mm F2.8 AL",
980          0x0607 => "smc PENTAX-FA* 80-200mm F2.8 ED[IF]",
981          0x0608 => "smc PENTAX-FA 28-70mm F4AL",
982          0x0609 => "smc PENTAX-FA 20mm F2.8",
983          0x060a => "smc PENTAX-FA* 400mm F5.6 ED[IF]",
984          0x060d => "smc PENTAX-FA* 400mm F5.6 ED[IF]",
985          0x060e => "smc PENTAX-FA* MACRO 200mm F4 ED[IF]",
986          0x0700 => "smc PENTAX-DA 21mm F3.2 AL Limited",
987          0x073d => "Tamron SP AF 70-200mm F2.8 Di LD [IF] Macro (A001)", //from exiftool
988          0x07d9 => "smc PENTAX-DA 50-200mm F4-5.6 ED WR", //from exiftool
989          0x07da => "smc PENTAX-DA 18-55mm F3.5-5.6 AL WR", //from exiftool
990          0x07dc => "Tamron SP AF 10-24mm F3.5-4.5 Di II LD Aspherical [IF]", // from exiftool
991          0x07dd => "smc PENTAX-DA 50-200mm F4-5.6 ED", // from LucMorizur
992          0x07de => "smc PENTAX-DA 18-55mm F3.5-5.6 AL II", //from exiftool
993          0x07df => "Samsung D-XENON 18-55mm F3.5-5.6 II", //from exiftool
994          0x07e0 => "smc PENTAX-DA 15mm F4 ED AL Limited", //from exiftool
995          0x07e1 => "Samsung D-XENON 18-250mm F3.5-6.3", //from exiftool
996          0x07e5 => "smc PENTAX-DA 18-55mm F3.5-5.6 AL II",
997          0x07e6 => "Tamron AF 17-50mm F2.8 XR Di-II LD (Model A16)",
998          0x07e7 => "smc PENTAX-DA 18-250mm F3.5-6.3ED AL [IF]",
999          0x07e9 => "smc PENTAX-DA 35mm F2.8 Macro Limited",
1000          0x07ea => "smc PENTAX-DA* 300 mm F4ED [IF] SDM (SDM not used)",
1001          0x07eb => "smc PENTAX-DA* 200mm F2.8 ED [IF] SDM (SDM not used)",
1002          0x07ec => "smc PENTAX-DA 55-300mm F4-5.8 ED", //from exiftool
1003          0x07ee => "TAMRON AF 18-250mm F3.5-6.3 Di II LD Aspherical [IF] MACRO",
1004          0x07f1 => "smc PENTAX-DA* 50-135mm F2.8 ED [IF] SDM (SDM not used)",
1005          0x07f2 => "smc PENTAX-DA* 16-50mm F2.8 ED AL [IF] SDM (SDM not used)",
1006          0x07f3 => "smc PENTAX-DA 70mm F2.4 Limited",
1007          0x07f4 => "smc PENTAX-DA 21mm F3.2 AL Limited",
1008          0x08e2 => "smc PENTAX-DA* 55mm F1.4 SDM", //from exiftool
1009          0x08e3 => "smc PENTAX DA* 60-250mm F4 [IF] SDM", //from exiftool
1010          0x08e8 => "smc PENTAX-DA 17-70mm F4 AL [IF] SDM", //from exiftool
1011          0x08ea => "smc PENTAX-DA* 300 mm F4ED [IF] SDM",
1012          0x08eb => "smc PENTAX-DA* 200mm F2.8 ED [IF] SDM",
1013          0x08f1 => "smc PENTAX-DA* 50-135mm F2.8 ED [IF] SDM",
1014          0x08f2 => "smc PENTAX-DA* 16-50mm F2.8 ED AL [IF] SDM",
1015          0x08ff => "Sigma lens" //from exiftool
1016        )
1017      ), // < LensType
1018
1019
1020      // ImageTone, tag 0x004f
1021      0x004f => Array(
1022        'tagName'     => "ImageTone",
1023        'schema'      => "Pentax",
1024        'translatable'=> true,
1025        'combiTag'    => 0,
1026        'implemented' => true,
1027        'tagValues'   => Array(
1028          0 => "Natural",
1029          1 => "Bright",
1030          2 => "Portrait",
1031          3 => "Landscape",
1032          4 => "Vibrant",
1033          5 => "Monochrome"
1034        )
1035      ), // < ImageTone
1036
1037
1038      // DynamicRangeExpansion, tag 0x0069
1039      0x0069 => Array(
1040        'tagName'     => "DynamicRangeExpansion",
1041        'schema'      => "Pentax",
1042        'translatable'=> true,
1043        'combiTag'    => 4,
1044        'implemented' => true,
1045        'tagValues'   => Array(
1046          0x0000000 => "Off",
1047          0x1000000 => "On"
1048        )
1049      ), // < DynamicRangeExpansion
1050
1051
1052      // HighISONoiseReduction, tag 0x0071
1053      0x0071 => Array(
1054        'tagName'     => "HighISONoiseReduction",
1055        'schema'      => "Pentax",
1056        'translatable'=> true,
1057        'combiTag'    => 0,
1058        'implemented' => true,
1059        'tagValues'   => Array(
1060          0 => "Off",
1061          1 => "Weakest",
1062          2 => "Weak",
1063          3 => "Strong"
1064        )
1065      ), // < HighISONoiseReduction
1066
1067
1068      /*
1069       * tags with special values
1070       */
1071
1072      // Version, tag 0x0000, "Pentax Makernote version"
1073      0x0000 => Array(
1074        'tagName'     => "Version",
1075        'schema'      => "Pentax",
1076        'translatable'=> false,
1077        'combiTag'    => 0,
1078        'implemented' => true
1079      ),
1080
1081      // PreviewResolution, tag 0x0002, "Resolution of a preview image"
1082      0x0002 => Array(
1083        'tagName'     => "PreviewResolution",
1084        'schema'      => "Pentax",
1085        'translatable'=> false,
1086        'combiTag'    => 0,
1087        'implemented' => true
1088      ),
1089
1090      // PreviewLength, tag 0x0003, "Size of an IFD containing a preview image"
1091      0x0003 => Array(
1092        'tagName'     => "PreviewLength",
1093        'schema'      => "Pentax",
1094        'translatable'=> false,
1095        'combiTag'    => 0,
1096        'implemented' => true
1097      ),
1098
1099      // PreviewOffset, tag 0x0004, "Offset to an IFD containing a preview image"
1100      0x0004 => Array(
1101        'tagName'     => "PreviewOffset",
1102        'schema'      => "Pentax",
1103        'translatable'=> false,
1104        'combiTag'    => 0,
1105        'implemented' => true
1106      ),
1107
1108      // Date, tag 0x0006
1109      0x0006 => Array(
1110        'tagName'     => "Date",
1111        'schema'      => "Pentax",
1112        'translatable'=> false,
1113        'combiTag'    => 0,
1114        'implemented' => true
1115      ),
1116
1117      // Date, tag 0x0007
1118      0x0007 => Array(
1119        'tagName'     => "Time",
1120        'schema'      => "Pentax",
1121        'translatable'=> false,
1122        'combiTag'    => 0,
1123        'implemented' => true
1124      ),
1125
1126      // FocusPosition, tag 0x0010, from exiftool, "related to focus distance but affected by focal length"
1127      0x0010 => Array(
1128        'tagName'     => "FocusPosition",
1129        'schema'      => "Pentax",
1130        'translatable'=> false,
1131        'combiTag'    => 0,
1132        'implemented' => false
1133      ),
1134
1135      // ExposureTime, tag 0x0012, "Exposure time"
1136      0x0012 => Array(
1137        'tagName'     => "ExposureTime",
1138        'schema'      => "Pentax",
1139        'translatable'=> false,
1140        'combiTag'    => 0,
1141        'implemented' => true
1142      ),
1143
1144      // FNumber, tag 0x0013, "F-Number"
1145      0x0013 => Array(
1146        'tagName'     => "FNumber",
1147        'schema'      => "Pentax",
1148        'translatable'=> false,
1149        'combiTag'    => 0,
1150        'implemented' => true
1151      ),
1152
1153      // LightReading, tag 0x0015, from exiftool
1154      0x0015 => Array(
1155        'tagName'     => "LightReading",
1156        'schema'      => "Pentax",
1157        'translatable'=> false,
1158        'combiTag'    => 0,
1159        'implemented' => false
1160      ),
1161
1162
1163      // ExposureCompensation, tag 0x0016, "Exposure compensation"
1164      0x0016 => Array(
1165        'tagName'     => "ExposureCompensation",
1166        'schema'      => "Pentax",
1167        'translatable'=> false,
1168        'combiTag'    => 0,
1169        'implemented' => true
1170      ),
1171
1172      // AutoBracketing, tag 0x0018, "AutoBracketing"
1173      0x0018 => Array(
1174        'tagName'     => "AutoBracketing",
1175        'schema'      => "Pentax",
1176        'translatable'=> true,
1177        'combiTag'    => 0,
1178        'implemented' => true
1179      ),
1180
1181      // BlueBalance, tag 0x001b, "BlueBalance", from exiftool
1182      0x001b => Array(
1183        'tagName'     => "BlueBalance",
1184        'schema'      => "Pentax",
1185        'translatable'=> false,
1186        'combiTag'    => 0,
1187        'implemented' => true
1188      ),
1189
1190      // RedBalance, tag 0x001c, "RedBalance"
1191      0x001c => Array(
1192        'tagName'     => "RedBalance",
1193        'schema'      => "Pentax",
1194        'translatable'=> false,
1195        'combiTag'    => 0,
1196        'implemented' => true
1197      ),
1198
1199      // FocalLength, tag 0x001d, "FocalLength"
1200      0x001d => Array(
1201        'tagName'     => "FocalLength",
1202        'schema'      => "Pentax",
1203        'translatable'=> false,
1204        'combiTag'    => 0,
1205        'implemented' => true
1206      ),
1207
1208      // DigitalZoom, tag 0x001e, "DigitalZoom", from exiftool
1209      0x001e => Array(
1210        'tagName'     => "DigitalZoom",
1211        'schema'      => "Pentax",
1212        'translatable'=> false,
1213        'combiTag'    => 0,
1214        'implemented' => true
1215      ),
1216
1217
1218      // HometownDST, tag 0x0025, "Whether day saving time is active in home town"
1219      0x0025 => Array(
1220        'tagName'     => "HometownDST",
1221        'schema'      => "Pentax",
1222        'translatable'=> false,
1223        'combiTag'    => 0,
1224        'implemented' => true
1225      ),
1226
1227      // DestinationDST, tag 0x0026, "Whether day saving time is active in destination"
1228      0x0026 => Array(
1229        'tagName'     => "DestinationDST",
1230        'schema'      => "Pentax",
1231        'translatable'=> false,
1232        'combiTag'    => 0,
1233        'implemented' => true
1234      ),
1235
1236      // DSPFirmwareVersion, tag 0x0027, "DSPFirmwareVersion"
1237      0x0027 => Array(
1238        'tagName'     => "DSPFirmwareVersion",
1239        'schema'      => "Pentax",
1240        'translatable'=> false,
1241        'combiTag'    => 0,
1242        'implemented' => true
1243      ),
1244
1245      // CPUFirmwareVersion, tag 0x0028, "CPUFirmwareVersion"
1246      0x0028 => Array(
1247        'tagName'     => "CPUFirmwareVersion",
1248        'schema'      => "Pentax",
1249        'translatable'=> false,
1250        'combiTag'    => 0,
1251        'implemented' => true
1252      ),
1253
1254      // FrameNumber, tag 0x0029, "FrameNumber"
1255      0x0029 => Array(
1256        'tagName'     => "FrameNumber",
1257        'schema'      => "Pentax",
1258        'translatable'=> false,
1259        'combiTag'    => 0,
1260        'implemented' => false
1261      ),
1262
1263      // EffectiveLV, tag 0x002d, "Camera calculated light value, includes exposure compensation"
1264      0x002d => Array(
1265        'tagName'     => "EffectiveLV",
1266        'schema'      => "Pentax",
1267        'translatable'=> false,
1268        'combiTag'    => 0,
1269        'implemented' => true
1270      ),
1271
1272      // ImageAreaOffset, tag 0x0038, "ImageAreaOffset"
1273      0x0038 => Array(
1274        'tagName'     => "ImageAreaOffset",
1275        'schema'      => "Pentax",
1276        'translatable'=> false,
1277        'combiTag'    => 0,
1278        'implemented' => false
1279      ),
1280
1281      // RawImageSize, tag 0x0039, "RawImageSize"
1282      0x0039 => Array(
1283        'tagName'     => "RawImageSize",
1284        'schema'      => "Pentax",
1285        'translatable'=> false,
1286        'combiTag'    => 0,
1287        'implemented' => true
1288      ),
1289
1290      // AFPointsInFocus, tag 0x003e, "AFPointsInFocus"
1291      0x003c => Array(
1292        'tagName'     => "AFPointsInFocus",
1293        'schema'      => "Pentax",
1294        'translatable'=> false,
1295        'combiTag'    => 0,
1296        'implemented' => false
1297      ),
1298
1299      // PreviewImageBorders, tag 0x003e, "'top, bottom, left, right'"
1300      0x003e => Array(
1301        'tagName'     => "PreviewImageBorders",
1302        'schema'      => "Pentax",
1303        'translatable'=> false,
1304        'combiTag'    => 0,
1305        'implemented' => false
1306      ),
1307
1308      // SensitivityAdjust, tag 0x0040, "SensitivityAdjust"
1309      0x0040 => Array(
1310        'tagName'     => "SensitivityAdjust",
1311        'schema'      => "Pentax",
1312        'translatable'=> false,
1313        'combiTag'    => 0,
1314        'implemented' => true
1315      ),
1316
1317      // DigitalFilter, tag 0x0041, "Digital filter"
1318      0x0041 => Array(
1319        'tagName'     => "DigitalFilter",
1320        'schema'      => "Pentax",
1321        'translatable'=> false,
1322        'combiTag'    => 0,
1323        'implemented' => false
1324      ),
1325
1326      // Temperature, tag 0x0047, "Camera temperature"
1327      0x0047 => Array(
1328        'tagName'     => "Temperature",
1329        'schema'      => "Pentax",
1330        'translatable'=> false,
1331        'combiTag'    => 0,
1332        'implemented' => true
1333      ),
1334
1335      // AELock, tag 0x0048, "AELock"
1336      0x0048 => Array(
1337        'tagName'     => "AELock",
1338        'schema'      => "Pentax",
1339        'translatable'=> true,
1340        'combiTag'    => 0,
1341        'implemented' => true
1342      ),
1343
1344      // NoiseReduction, tag 0x0049, "NoiseReduction"
1345      0x0049 => Array(
1346        'tagName'     => "NoiseReduction",
1347        'schema'      => "Pentax",
1348        'translatable'=> true,
1349        'combiTag'    => 0,
1350        'implemented' => true
1351      ),
1352
1353      // FlashExposureCompensation, tag 0x004d, "FlashExposureCompensation"
1354      0x004d => Array(
1355        'tagName'     => "FlashExposureCompensation",
1356        'schema'      => "Pentax",
1357        'translatable'=> false,
1358        'combiTag'    => 0,
1359        'implemented' => true
1360      ),
1361
1362      // ColorTemperature, tag 0x0050, "ColorTemperature"
1363      0x0050 => Array(
1364        'tagName'     => "ColorTemperature",
1365        'schema'      => "Pentax",
1366        'translatable'=> false,
1367        'combiTag'    => 0,
1368        'implemented' => true
1369      ),
1370
1371      // ShakeReduction, tag 0x005c, "ShakeReduction"
1372      0x005c => Array(
1373        'tagName'     => "ShakeReduction",
1374        'schema'      => "Pentax",
1375        'translatable'=> false,
1376        'combiTag'    => 0,
1377        'implemented' => false
1378      ),
1379
1380      // ShutterCount, tag 0x005d, "ShutterCount"
1381      0x005d => Array(
1382        'tagName'     => "ShutterCount",
1383        'schema'      => "Pentax",
1384        'translatable'=> false,
1385        'combiTag'    => 0,
1386        'implemented' => false
1387      ),
1388
1389      // AFAdjustment, tag 0x0072, "AFAdjustment", from exiftool
1390      0x0072 => Array(
1391        'tagName'     => "AFAdjustment",
1392        'schema'      => "Pentax",
1393        'translatable'=> false,
1394        'combiTag'    => 0,
1395        'implemented' => false
1396      ),
1397
1398
1399      // BlackPoint, tag 0x0200, "BlackPoint"
1400      0x0200 => Array(
1401        'tagName'     => "BlackPoint",
1402        'schema'      => "Pentax",
1403        'translatable'=> false,
1404        'combiTag'    => 0,
1405        'implemented' => false
1406      ),
1407
1408      // WhitePoint, tag 0x0201, "WhitePoint"
1409      0x0201 => Array(
1410        'tagName'     => "WhitePoint",
1411        'schema'      => "Pentax",
1412        'translatable'=> false,
1413        'combiTag'    => 0,
1414        'implemented' => false
1415      ),
1416
1417      // ColorMatrixA, tag 0x0203, "ColorMatrixA" //from exiftool
1418      0x0203 => Array(
1419        'tagName'     => "ColorMatrixA",
1420        'schema'      => "Pentax",
1421        'translatable'=> false,
1422        'combiTag'    => 0,
1423        'implemented' => false
1424      ),
1425
1426      // ColorMatrixB, tag 0x0204, "ColorMatrixB" //from exiftool
1427      0x0204 => Array(
1428        'tagName'     => "ColorMatrixB",
1429        'schema'      => "Pentax",
1430        'translatable'=> false,
1431        'combiTag'    => 0,
1432        'implemented' => false
1433      ),
1434
1435      // ShotInfo, tag 0x0205, "ShotInfo"
1436      0x0205 => Array(
1437        'tagName'     => "ShotInfo",
1438        'schema'      => "Pentax",
1439        'translatable'=> false,
1440        'combiTag'    => 0,
1441        'implemented' => false
1442      ),
1443
1444      // AEInfo, tag 0x0206, "AEInfo"
1445      0x0206 => Array(
1446        'tagName'     => "AEInfo",
1447        'schema'      => "Pentax",
1448        'translatable'=> false,
1449        'combiTag'    => 0,
1450        'implemented' => false
1451      ),
1452
1453      // AEInfo, tag 0x0207, "LensInfo"
1454      0x0207 => Array(
1455        'tagName'     => "LensInfo",
1456        'schema'      => "Pentax",
1457        'translatable'=> false,
1458        'combiTag'    => 0,
1459        'implemented' => false
1460      ),
1461
1462      // FlashInfo, tag 0x0208, "FlashInfo"
1463      0x0208 => Array(
1464        'tagName'     => "FlashInfo",
1465        'schema'      => "Pentax",
1466        'translatable'=> false,
1467        'combiTag'    => 0,
1468        'implemented' => false
1469      ),
1470
1471      // FlashInfo, tag 0x0209, "AEMeteringSegments"
1472      0x0209 => Array(
1473        'tagName'     => "AEMeteringSegments",
1474        'schema'      => "Pentax",
1475        'translatable'=> false,
1476        'combiTag'    => 0,
1477        'implemented' => false
1478      ),
1479
1480      // FlashADump, tag 0x020a, "FlashADump"
1481      0x020a => Array(
1482        'tagName'     => "FlashADump",
1483        'schema'      => "Pentax",
1484        'translatable'=> false,
1485        'combiTag'    => 0,
1486        'implemented' => false
1487      ),
1488
1489      // FlashBDump, tag 0x020b, "FlashBDump"
1490      0x020b => Array(
1491        'tagName'     => "FlashBDump",
1492        'schema'      => "Pentax",
1493        'translatable'=> false,
1494        'combiTag'    => 0,
1495        'implemented' => false
1496      ),
1497
1498      // WB_RGGBLevelsDaylight, tag 0x020d, "WB_RGGBLevelsDaylight"
1499      0x020d => Array(
1500        'tagName'     => "WB_RGGBLevelsDaylight",
1501        'schema'      => "Pentax",
1502        'translatable'=> false,
1503        'combiTag'    => 0,
1504        'implemented' => false
1505      ),
1506
1507      // WB_RGGBLevelsShade, tag 0x020e, "WB_RGGBLevelsShade"
1508      0x020e => Array(
1509        'tagName'     => "WB_RGGBLevelsShade",
1510        'schema'      => "Pentax",
1511        'translatable'=> false,
1512        'combiTag'    => 0,
1513        'implemented' => false
1514      ),
1515
1516      // WB_RGGBLevelsCloudy, tag 0x020f, "WB_RGGBLevelsCloudy"
1517      0x020f => Array(
1518        'tagName'     => "WB_RGGBLevelsCloudy",
1519        'schema'      => "Pentax",
1520        'translatable'=> false,
1521        'combiTag'    => 0,
1522        'implemented' => false
1523      ),
1524
1525      // WB_RGGBLevelsTungsten, tag 0x0210, "WB_RGGBLevelsTungsten"
1526      0x0210 => Array(
1527        'tagName'     => "WB_RGGBLevelsTungsten",
1528        'schema'      => "Pentax",
1529        'translatable'=> false,
1530        'combiTag'    => 0,
1531        'implemented' => false
1532      ),
1533
1534      // WB_RGGBLevelsFluorescentD, tag 0x0211, "WB_RGGBLevelsFluorescentD"
1535      0x0211 => Array(
1536        'tagName'     => "WB_RGGBLevelsFluorescentD",
1537        'schema'      => "Pentax",
1538        'translatable'=> false,
1539        'combiTag'    => 0,
1540        'implemented' => false
1541      ),
1542
1543      // WB_RGGBLevelsFluorescentN, tag 0x0212, "WB_RGGBLevelsFluorescentN"
1544      0x0212 => Array(
1545        'tagName'     => "WB_RGGBLevelsFluorescentN",
1546        'schema'      => "Pentax",
1547        'translatable'=> false,
1548        'combiTag'    => 0,
1549        'implemented' => false
1550      ),
1551
1552      // WB_RGGBLevelsFluorescentW, tag 0x0213, "WB_RGGBLevelsFluorescentW"
1553      0x0213 => Array(
1554        'tagName'     => "WB_RGGBLevelsFluorescentW",
1555        'schema'      => "Pentax",
1556        'translatable'=> false,
1557        'combiTag'    => 0,
1558        'implemented' => false
1559      ),
1560
1561      // WB_RGGBLevelsFlash, tag 0x0214, "WB_RGGBLevelsFlash"
1562      0x0214 => Array(
1563        'tagName'     => "WB_RGGBLevelsFlash",
1564        'schema'      => "Pentax",
1565        'translatable'=> false,
1566        'combiTag'    => 0,
1567        'implemented' => false
1568      ),
1569
1570      // CameraInfo, tag 0x0215, "CameraInfo"
1571      0x0215 => Array(
1572        'tagName'     => "CameraInfo",
1573        'schema'      => "Pentax",
1574        'translatable'=> false,
1575        'combiTag'    => 0,
1576        'implemented' => false
1577      ),
1578
1579      // BatteryInfo, tag 0x0216, "BatteryInfo"
1580      0x0216 => Array(
1581        'tagName'     => "BatteryInfo",
1582        'schema'      => "Pentax",
1583        'translatable'=> false,
1584        'combiTag'    => 0,
1585        'implemented' => false
1586      ),
1587
1588      // SaturationInfo, tag 0x021b, "SaturationInfo"
1589      0x021b => Array(
1590        'tagName'     => "SaturationInfo",
1591        'schema'      => "Pentax",
1592        'translatable'=> false,
1593        'combiTag'    => 0,
1594        'implemented' => false
1595      ),
1596
1597      // AFInfo, tag 0x021f, "AFInfo"
1598      0x021f => Array(
1599        'tagName'     => "AFInfo",
1600        'schema'      => "Pentax",
1601        'translatable'=> false,
1602        'combiTag'    => 0,
1603        'implemented' => false
1604      ),
1605
1606      // HuffmanTable, tag 0x0220, "HuffmanTable" from exiftool
1607      0x0220 => Array(
1608        'tagName'     => "HuffmanTable",
1609        'schema'      => "Pentax",
1610        'translatable'=> false,
1611        'combiTag'    => 0,
1612        'implemented' => false
1613      ),
1614
1615      // ColorInfo, tag 0x0222, "ColorInfo"
1616      0x0222 => Array(
1617        'tagName'     => "ColorInfo",
1618        'schema'      => "Pentax",
1619        'translatable'=> false,
1620        'combiTag'    => 0,
1621        'implemented' => false
1622      ),
1623
1624      // EVStepInfo, tag 0x0224, "EVStepInfo"
1625      0x0224 => Array(
1626        'tagName'     => "EVStepInfo",
1627        'schema'      => "Pentax",
1628        'translatable'=> false,
1629        'combiTag'    => 0,
1630        'implemented' => false
1631      ),
1632
1633      // SerialNumber, tag 0x0229, "SerialNumber"
1634      0x0229 => Array(
1635        'tagName'     => "SerialNumber",
1636        'schema'      => "Pentax",
1637        'translatable'=> false,
1638        'combiTag'    => 0,
1639        'implemented' => false
1640      ),
1641
1642      // FirmwareVersion, tag 0x0230, "FirmwareVersion" from exiftool
1643      0x0230 => Array(
1644        'tagName'     => "FirmwareVersion",
1645        'schema'      => "Pentax",
1646        'translatable'=> false,
1647        'combiTag'    => 0,
1648        'implemented' => false
1649      ),
1650
1651      // DataDump, tag 0x03fe, "DataDump" from exiftool
1652      0x03fe => Array(
1653        'tagName'     => "DataDump",
1654        'schema'      => "Pentax",
1655        'translatable'=> false,
1656        'combiTag'    => 0,
1657        'implemented' => false
1658      ),
1659
1660      // UnknownInfo, tag 0x03ff, "UnknownInfo" from exiftool
1661      0x03ff => Array(
1662        'tagName'     => "UnknownInfo",
1663        'schema'      => "Pentax",
1664        'translatable'=> false,
1665        'combiTag'    => 0,
1666        'implemented' => false
1667      ),
1668
1669      // ToneCurve, tag 0x0402, "ToneCurve" from exiftool
1670      0x0402 => Array(
1671        'tagName'     => "ToneCurve",
1672        'schema'      => "Pentax",
1673        'translatable'=> false,
1674        'combiTag'    => 0,
1675        'implemented' => false
1676      ),
1677
1678      // ToneCurves, tag 0x0403, "ToneCurves" from exiftool
1679      0x0403 => Array(
1680        'tagName'     => "ToneCurves",
1681        'schema'      => "Pentax",
1682        'translatable'=> false,
1683        'combiTag'    => 0,
1684        'implemented' => false
1685      ),
1686
1687      // PrintIM, tag 0x0e00, "PrintIM" from exiftool
1688      0x0e00 => Array(
1689        'tagName'     => "PrintIM",
1690        'schema'      => "Pentax",
1691        'translatable'=> false,
1692        'combiTag'    => 0,
1693        'implemented' => false
1694      ),
1695
1696    );
1697
1698    function __destruct()
1699    {
1700      parent::__destruct();
1701    }
1702  } // PentaxTags
1703
1704
1705
1706?>
Note: See TracBrowser for help on using the repository browser.