Template::Plugin::ExifTool - Interface to Image::ExifTool Module


Template-Plugin-ExifTool documentation  | view source Contained in the Template-Plugin-ExifTool distribution.

Index


NAME

Top

Template::Plugin::ExifTool - Interface to Image::ExifTool Module

SYNOPSIS

Top

  [% # filepath is full path of image file. %]
  [% USE image = ExifTool(filepath) %]

  [% # Return meta information for 2 tags only %]
  [% USE image = ExifTool(filepath, 'tag1', 'tag2') %]

  [% # get hash of meta information from an image %]
  [% FOREACH info = image.info %]
  [% info.key %] => [% info.value %]
  [% END %]

  [% # using ExifTool methods %]
  [% image.GetValue(tag, type) %]
  [% image.GetDescription(tag) %]
  ...

DESCRIPTION

Top

Template::Plugin::ExifTool is interface to Image::ExifTool Module.

METHODS

Top

info

Return hash of meta information tag names/values from an image. This return value is same as Image::ExifTool::ImageInfo.

  [% image.info %]

Using Image::ExifTool methods

It can use methods of Image::ExifTool. Get the value of specified tag.

  [% image.GetValue(tag, type) %]

Get the description for specified tag.

  [% image.GetDescription(tag) %]

...

AUTHOR

Top

Author <kurihara@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Top

Image::ExifTool, Template::Plugin


Template-Plugin-ExifTool documentation  | view source Contained in the Template-Plugin-ExifTool distribution.