Image::ExifTool::BuildTagLookup - Build ExifTool tag lookup tables
Contents
Description
This module is used to generate the tag lookup tables in Image::ExifTool::TagLookup.pm and tag name
documentation in Image::ExifTool::TagNames.pod, as well as HTML tag name documentation. It is used
before each new ExifTool release to update the lookup tables and documentation, but it is not used
otherwise. It also performs some validation and consistency checks on the tag tables.
Member Variables
PRESERVE_DATE
Flag to preserve "Last revised" date in HTML files. Set before calling WriteTagNames().
COUNT
Reference to hash containing counting statistics. Keys are the descriptions, and values are the
numerical counts. Valid after BuildTagLookup object is created, but additional statistics are added
by WriteTagNames().
WRITE_PSEUDO
Returned list of writable pseudo tags.
Name
Image::ExifTool::BuildTagLookup - Build ExifTool tag lookup tables
See Also
Image::ExifTool(3pm), Image::ExifTool::TagLookup(3pm), Image::ExifTool::TagNames(3pm) perl v5.40.1 2025-03-16 Image::ExifTool::BuildTagLookup(3pm)
Synopsis
use Image::ExifTool::BuildTagLookup;
$builder = Image::ExifTool::BuildTagLookup->new;
# update Image::ExifTool::TagLookup
$ok = $builder->WriteTagLookup('lib/Image/ExifTool/TagLookup.pm');
# update the tag name documentation
$ok = $builder->WriteTagNames('lib/Image/ExifTool/TagNames.pod','html');
# print some statistics
my $count = $$builder{COUNT};
foreach (sort keys %$count) {
printf "%5d %s\n", $$count{$_}, $_;
}
