1Image::ExifTool::Fixup(U3s)er Contributed Perl DocumentatIimoange::ExifTool::Fixup(3)
2
3
4
6 Image::ExifTool::Fixup - Utility to handle pointer fixups
7
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
29 This module contains the code to keep track of pointers in memory and
30 to shift these pointers as required. It is used by ExifTool to main‐
31 tain the pointers in image file directories (IFD's).
32
34 Keeps track of pointers with different byte ordering, and relies on
35 Image::ExifTool::GetByteOrder() to determine the current byte ordering
36 when adding new pointers to a fixup.
37
38 Maintains a hierarchical list of fixups so that the whole hierarchy can
39 be shifted by a simple shift at the base. Hierarchy is collapsed to a
40 linear list when ApplyFixups() is called.
41
43 Copyright 2003-2007, Phil Harvey (phil at owl.phy.queensu.ca)
44
45 This library is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
49 Image::ExifTool(3pm)
50
51
52
53perl v5.8.8 2007-09-12 Image::ExifTool::Fixup(3)