Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Image::ExifTool::Fixup

Name Image::ExifTool::Fixup
Version 1.05
Located at /usr/share/perl5
File /usr/share/perl5/Image/ExifTool/Fixup.pm
Is Core No
Search CPAN for this module Image::ExifTool::Fixup
Documentation Image::ExifTool::Fixup
Module Details Image::ExifTool::Fixup

NAME

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


SYNOPSIS

    use Image::ExifTool::Fixup;
    $fixup = new Image::ExifTool::Fixup;
    # add a new fixup to a pointer at the specified offset in data
    $fixup->AddFixup($offset);
    # add a new Fixup object to the tree
    $fixup->AddFixup($subFixup);
    $fixup->{Start} += $shift1;   # shift pointer offsets and values
    $fixup->{Shift} += $shift2;   # shift pointer values only
    # recursively apply fixups to the specified data
    $fixup->ApplyFixups(\$data);
    $fixup->Dump();               # dump debugging information
    $fixup->IsEmpty();            # return true if no offsets to fix


DESCRIPTION

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


NOTES

Keeps track of pointers with different byte ordering, and relies on Image::ExifTool::GetByteOrder() to determine the current byte ordering when adding new pointers to a fixup.

Maintains a hierarchical list of fixups so that the whole hierarchy can be shifted by a simple shift at the base. Hierarchy is collapsed to a linear list when ApplyFixups() is called.


AUTHOR

Copyright 2003-2022, 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.


SEE ALSO

Image::ExifTool(3pm)

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026