1Image::ExifTool::Fixup(U3s)er Contributed Perl DocumentatIimoange::ExifTool::Fixup(3)
2
3
4

NAME

6       Image::ExifTool::Fixup - Utility to handle pointer fixups
7

SYNOPSIS

9           use Image::ExifTool::Fixup;
10
11           $fixup = new Image::ExifTool::Fixup;
12
13           # add a new fixup to a pointer at the specified offset in data
14           $fixup->AddFixup($offset);
15
16           # add a new Fixup object to the tree
17           $fixup->AddFixup($subFixup);
18
19           $fixup->{Start} += $shift1;   # shift pointer offsets and values
20
21           $fixup->{Shift} += $shift2;   # shift pointer values only
22
23           # recursively apply fixups to the specified data
24           $fixup->ApplyFixups(\$data);
25
26           $fixup->Dump();               # dump debugging information
27
28           $fixup->IsEmpty();            # return true if no offsets to fix
29

DESCRIPTION

31       This module contains the code to keep track of pointers in memory and
32       to shift these pointers as required.  It is used by ExifTool to
33       maintain the pointers in image file directories (IFD's).
34

NOTES

36       Keeps track of pointers with different byte ordering, and relies on
37       Image::ExifTool::GetByteOrder() to determine the current byte ordering
38       when adding new pointers to a fixup.
39
40       Maintains a hierarchical list of fixups so that the whole hierarchy can
41       be shifted by a simple shift at the base.  Hierarchy is collapsed to a
42       linear list when ApplyFixups() is called.
43

AUTHOR

45       Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
46
47       This library is free software; you can redistribute it and/or modify it
48       under the same terms as Perl itself.
49

SEE ALSO

51       Image::ExifTool(3pm)
52
53
54
55perl v5.34.0                      2021-08-24         Image::ExifTool::Fixup(3)
Impressum