~ubuntu-branches/ubuntu/karmic/libimage-exiftool-perl/karmic

« back to all changes in this revision

Viewing changes to html/config.html

  • Committer: Bazaar Package Importer
  • Author(s): Mari Wang
  • Date: 2008-02-04 20:32:53 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080204203253-mpbal8trlfe1fz5d
Tags: 7.00-1
* Upload of new production release (Closes: #456430)
* Added Recommends: libcompress-zlib-perl (Closes: #435589)
* Package now includes iptc2xmp.args and xmp2iptc.args, they are put
  into /usr/share/libimage-exiftool/ (Closes: #436100)
* Updated standards-version (3.7.2 -> 3.7.3). No changes needed.
* Lots of updates and bugfixes compared to last debian version
  (6.90).  See the Changes file for details
* Upload sponsored by Petter Reinholdtsen

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#               with a new tag.
21
21
#
22
22
#               To activate this file, rename it to ".ExifTool_config" and
23
 
#               place it in your home directory or the application script
 
23
#               place it in your home directory or the exiftool application
24
24
#               directory.  This causes ExifTool to automatically load the file
25
25
#               when run.  Your home directory is determined by the first
26
26
#               defined of the following environment variables:
147
147
            <span class='com'># remove the extension from FileName</span>
148
148
            ValueConv =&gt; 'my $name=$val[0]; $name=~s/\..*?$//; $name',
149
149
        },
 
150
        <span class='com'># the following example demonstrates simplifications which may be
 
151
        # used if only one tag is Require'd or Desire'd:
 
152
        # 1) the Require/Desire lookup may be replaced with a simple tag name
 
153
        # 2) "$val" may be used to represent "$val[0]" in the expression</span>
150
154
        Extension =&gt; {
151
 
            Require =&gt; {
152
 
                0 =&gt; 'FileName',
153
 
            },
154
 
            ValueConv =&gt; '$val[0]=~/\.([^.]*)$/; $1',
 
155
            Require =&gt; 'FileName',
 
156
            ValueConv =&gt; '$val=~/\.([^.]*)$/; $1',
155
157
        },
156
158
        <span class='com'># override CircleOfConfusion tag to use D/1750 instead of D/1440</span>
157
159
        CircleOfConfusion =&gt; {