To write any unknown tag (or change the definition of any
existing tag), all you have
to do is add an entry to the config file. In your case,
this entry in the
%Image::ExifTool::UserDefined hash will do it:<br
/><br />
<code> 'Image::ExifTool::Photoshop::Main' => {
0x07d0 => {
Name => 'PathInfo',
Writable => 1,
ValueConv => '$val',
ValueConvInv => '$val',
},
},
</code><br />
(The value conversions are not strictly required, but will
prevent binary data from being
sent to your console if you extract this tag.) With this
addition, you would use the
following command line:<br /><br />
<code>exiftool -TagsFromFile mit.jpg -pathinfo
ohne.tiff
</code><br />
See the
<a href="http://owl.phy.queensu.ca
/~phil/exiftool/config.html">ExifTool_config</a&g
t;
file included with in the ExifTool distribution for more
details.<br /><br />
- Phil
To write a respons, access
http://ww
w.cpanforum.com/response_form/3333
To see the full thread, access
http://www.cpan
forum.com/threads/3332
--
You are getting this messages from www.cpanforum.com
To change your subscription information visit http://www.cpanforum.
com/mypan/
|