-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.ExifTool_config
97 lines (89 loc) · 3.31 KB
/
.ExifTool_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# The %Image::ExifTool::UserDefined hash defines new tags to be added
# to existing tables.
%Image::ExifTool::UserDefined = (
# new XMP namespaces (eg. xxx) must be added to the Main XMP table:
'Image::ExifTool::XMP::Main' => {
pdfaExtension => { # <-- must be the same as the NAMESPACE prefix
SubDirectory => {
TagTable => 'Image::ExifTool::UserDefined::pdfaExtension',
# (see the definition of this table below)
},
},
# add more user-defined XMP namespaces here...
premis => { # <-- must be the same as the NAMESPACE prefix
SubDirectory => {
TagTable => 'Image::ExifTool::UserDefined::premis',
# (see the definition of this table below)
},
},
# add more user-defined XMP namespaces here...
liz => { # <-- must be the same as the NAMESPACE prefix
SubDirectory => {
TagTable => 'Image::ExifTool::UserDefined::liz',
# (see the definition of this table below)
},
},
},
);
# This is a basic example of the definition for a new XMP namespace.
# This table is referenced through a SubDirectory tag definition
# in the %Image::ExifTool::UserDefined definition above.
# The namespace prefix for these tags is 'xxx', which corresponds to
# an ExifTool family 1 group name of 'XMP-xxx'.
%Image::ExifTool::UserDefined::pdfaExtension = (
GROUPS => { 0 => 'XMP', 1 => 'XMP-pdfaExtension' },
NAMESPACE => { 'pdfaExtension' => 'http://www.aiim.org/pdfa/ns/extension/' },
WRITABLE => 'string', # (default to string-type tags)
schemas => {
List => 'Bag',
Struct => {
NAMESPACE => {'pdfaSchema' => 'http://www.aiim.org/pdfa/ns/schema#'},
schema => {},
namespaceURI => {},
prefix => {},
property => {
List => 'Seq',
Struct => {
NAMESPACE => {'pdfaProperty' => 'http://www.aiim.org/pdfa/ns/property#'},
name => {},
valueType => {},
category => {},
description => {},
}
}
},
valueType => {
List => 'Seq',
Struct => {
NAMESPACE => {'pdfaType' => 'http://www.aiim.org/pdfa/ns/type#'},
type => {},
namespaceURI => {},
prefix => {},
description => {},
}
},
},
);
# This is a basic example of the definition for a new XMP namespace.
# This table is referenced through a SubDirectory tag definition
# in the %Image::ExifTool::UserDefined definition above.
# The namespace prefix for these tags is 'xxx', which corresponds to
# an ExifTool family 1 group name of 'XMP-xxx'.
%Image::ExifTool::UserDefined::premis = (
GROUPS => { 0 => 'XMP', 1 => 'XMP-premis' },
NAMESPACE => { 'premis' => 'http://www.loc.gov/premis/v3#' },
WRITABLE => 'string', # (default to string-type tags)
EventType => { WRITABLE => 'string' },
EventDateTime => { WRITABLE => 'date' },
EventAgent => { WRITABLE => 'string' },
);
%Image::ExifTool::UserDefined::liz = (
GROUPS => { 0 => 'XMP', 1 => 'XMP-liz' },
NAMESPACE => { 'liz' => 'http://www.mywebsite.com/liz/v1#' },
WRITABLE => 'string', # (default to string-type tags)
GitHubRepo => { WRITABLE => 'url'},
Message => { WRITABLE => 'string'},
);
#print "Working!\n";
#------------------------------------------------------------------------------
1; #end