summaryrefslogtreecommitdiff
path: root/config_files
diff options
context:
space:
mode:
authorexiftool <phil@work3.phy.queensu.ca>2017-05-26 13:39:10 -0400
committerexiftool <phil@work3.phy.queensu.ca>2017-05-26 13:39:10 -0400
commit0d7d8a529682a729f7e3471c4cf1d67e121c71eb (patch)
tree7b23138e84cbdac77391baa870431a7bb4b6c2a4 /config_files
parent80e87be0b8e7b569e31b3f204ee67c9ee7dc45f0 (diff)
Update to 10.54
Diffstat (limited to 'config_files')
-rw-r--r--config_files/example.config13
1 files changed, 10 insertions, 3 deletions
diff --git a/config_files/example.config b/config_files/example.config
index 6de6a170..b5bf4ad0 100644
--- a/config_files/example.config
+++ b/config_files/example.config
@@ -310,12 +310,15 @@ use Image::ExifTool::MIE;
# User-defined file types to recognize
%Image::ExifTool::UserDefined::FileTypes = (
XXX => { # <-- the extension of the new file type (case insensitive)
- # BaseType specifies the format upon which this file is based.
- # If BaseType is defined, then the file will be fully supported,
- # and in this case the Magic pattern should not be defined
+ # BaseType specifies the format upon which this file is based (case
+ # sensitive). If BaseType is defined, then the file will be fully
+ # supported, and in this case the Magic pattern should not be defined
BaseType => 'TIFF',
MIMEType => 'image/x-xxx',
Description => 'My XXX file type',
+ # if the BaseType is writable by ExifTool, then the new file type
+ # will also be writable unless otherwise specified, like this:
+ Writable => 0,
},
YYY => {
# without BaseType, the file will be recognized but not supported
@@ -329,6 +332,10 @@ use Image::ExifTool::MIE;
# unless otherwise specified
Description => 'My ZZZ file type',
},
+ # if only BaseType is specified, then the following simplified syntax
+ # may be used. In this example, files with extension "TTT" will be
+ # processed as JPEG files
+ TTT => 'JPEG',
);
# Specify default ExifTool option values