1Image::ExifTool::BuildTUasgeLrooCkounpt(r3i)buted Perl DIomcaugmee:n:tEaxtiifoTnool::BuildTagLookup(3)
2
3
4
6 Image::ExifTool::BuildTagLookup - Build ExifTool tag lookup tables
7
9 This module is used to generate the tag lookup tables in
10 Image::ExifTool::TagLookup.pm and tag name documentation in
11 Image::ExifTool::TagNames.pod, as well as HTML tag name documentation.
12 It is used before each new ExifTool release to update the lookup tables
13 and documentation, but it is not used otherwise. It also performs some
14 validation and consistency checks on the tag tables.
15
17 use Image::ExifTool::BuildTagLookup;
18
19 $builder = new Image::ExifTool::BuildTagLookup;
20
21 # update Image::ExifTool::TagLookup
22 $ok = $builder->WriteTagLookup('lib/Image/ExifTool/TagLookup.pm');
23
24 # update the tag name documentation
25 $ok = $builder->WriteTagNames('lib/Image/ExifTool/TagNames.pod','html');
26
27 # print some statistics
28 my $count = $$builder{COUNT};
29 foreach (sort keys %$count) {
30 printf "%5d %s\n", $$count{$_}, $_;
31 }
32
34 PRESERVE_DATE
35 Flag to preserve "Last revised" date in HTML files. Set before
36 calling WriteTagNames().
37
38 COUNT
39 Reference to hash containing counting statistics. Keys are the
40 descriptions, and values are the numerical counts. Valid after
41 BuildTagLookup object is created, but additional statistics are
42 added by WriteTagNames().
43
44 WRITE_PSEUDO
45 Returned list of writable pseudo tags.
46
48 Copyright 2003-2023, Phil Harvey (philharvey66 at gmail.com)
49
50 This library is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
54 Image::ExifTool(3pm), Image::ExifTool::TagLookup(3pm),
55 Image::ExifTool::TagNames(3pm)
56
57
58
59perl v5.38.0 2023-11-21Image::ExifTool::BuildTagLookup(3)