diff options
Diffstat (limited to 'config_files/example.config')
-rw-r--r-- | config_files/example.config | 13 |
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 |