Image::ExifTool::BuildTagLookup(3) User Contributed Perl Documentation Image::ExifTool::BuildTagLookup(3)

Image::ExifTool::BuildTagLookup - Build ExifTool tag lookup tables

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.

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{$_}, $_;
}

Flag to preserve "Last revised" date in HTML files. Set before calling WriteTagNames().
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().
Returned list of writable pseudo tags.

Copyright 2003-2024, Phil Harvey (philharvey66 at gmail.com)

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

Image::ExifTool(3pm), Image::ExifTool::TagLookup(3pm), Image::ExifTool::TagNames(3pm)

2024-04-05 perl v5.38.2