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 ComTags is the definition of the Tiff & Exif tags |
---|
36 | * |
---|
37 | * ----------------------------------------------------------------------------- |
---|
38 | * |
---|
39 | * .. Notes .. |
---|
40 | * |
---|
41 | * The ComTags class is derived from the KnownTags class. |
---|
42 | * |
---|
43 | * ======> See KnownTags.class.php to know more about the tag definitions <===== |
---|
44 | * |
---|
45 | */ |
---|
46 | |
---|
47 | require_once(JPEG_METADATA_DIR."TagDefinitions/KnownTags.class.php"); |
---|
48 | |
---|
49 | /** |
---|
50 | * Define the tags for COM segment |
---|
51 | */ |
---|
52 | class ComTags extends KnownTags |
---|
53 | { |
---|
54 | protected $label = "COM segment tags"; |
---|
55 | protected $tags = Array( |
---|
56 | /* |
---|
57 | * tags with defined values |
---|
58 | */ |
---|
59 | |
---|
60 | // comment, tag 'comment' |
---|
61 | 'comment' => Array( |
---|
62 | 'tagName' => "comment", |
---|
63 | 'schema' => "com", |
---|
64 | 'translatable'=> false, |
---|
65 | 'implemented' => true |
---|
66 | ), // < comment |
---|
67 | ); |
---|
68 | |
---|
69 | function __destruct() |
---|
70 | { |
---|
71 | parent::__destruct(); |
---|
72 | } |
---|
73 | } |
---|
74 | |
---|
75 | |
---|
76 | ?> |
---|