{
    "content": [
        {
            "type": "text",
            "text": "# Image::ExifTool::Fixup (perldoc)\n\n## NAME\n\nImage::ExifTool::Fixup - Utility to handle pointer fixups\n\n## SYNOPSIS\n\nuse Image::ExifTool::Fixup;\n$fixup = new Image::ExifTool::Fixup;\n# add a new fixup to a pointer at the specified offset in data\n$fixup->AddFixup($offset);\n# add a new Fixup object to the tree\n$fixup->AddFixup($subFixup);\n$fixup->{Start} += $shift1;   # shift pointer offsets and values\n$fixup->{Shift} += $shift2;   # shift pointer values only\n# recursively apply fixups to the specified data\n$fixup->ApplyFixups(\\$data);\n$fixup->Dump();               # dump debugging information\n$fixup->IsEmpty();            # return true if no offsets to fix\n\n## DESCRIPTION\n\nThis module contains the code to keep track of pointers in memory and to shift these pointers as\nrequired. It is used by ExifTool to maintain the pointers in image file directories (IFD's).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **NOTES**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Image::ExifTool::Fixup",
        "section": "",
        "mode": "perldoc",
        "summary": "Image::ExifTool::Fixup - Utility to handle pointer fixups",
        "synopsis": "use Image::ExifTool::Fixup;\n$fixup = new Image::ExifTool::Fixup;\n# add a new fixup to a pointer at the specified offset in data\n$fixup->AddFixup($offset);\n# add a new Fixup object to the tree\n$fixup->AddFixup($subFixup);\n$fixup->{Start} += $shift1;   # shift pointer offsets and values\n$fixup->{Shift} += $shift2;   # shift pointer values only\n# recursively apply fixups to the specified data\n$fixup->ApplyFixups(\\$data);\n$fixup->Dump();               # dump debugging information\n$fixup->IsEmpty();            # return true if no offsets to fix",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ExifTool",
                "section": "3pm",
                "url": "https://www.chedong.com/phpMan.php/man/ExifTool/3pm/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Image::ExifTool::Fixup - Utility to handle pointer fixups\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Image::ExifTool::Fixup;\n\n$fixup = new Image::ExifTool::Fixup;\n\n# add a new fixup to a pointer at the specified offset in data\n$fixup->AddFixup($offset);\n\n# add a new Fixup object to the tree\n$fixup->AddFixup($subFixup);\n\n$fixup->{Start} += $shift1;   # shift pointer offsets and values\n\n$fixup->{Shift} += $shift2;   # shift pointer values only\n\n# recursively apply fixups to the specified data\n$fixup->ApplyFixups(\\$data);\n\n$fixup->Dump();               # dump debugging information\n\n$fixup->IsEmpty();            # return true if no offsets to fix\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module contains the code to keep track of pointers in memory and to shift these pointers as\nrequired. It is used by ExifTool to maintain the pointers in image file directories (IFD's).\n",
                "subsections": []
            },
            "NOTES": {
                "content": "Keeps track of pointers with different byte ordering, and relies on\nImage::ExifTool::GetByteOrder() to determine the current byte ordering when adding new pointers\nto a fixup.\n\nMaintains a hierarchical list of fixups so that the whole hierarchy can be shifted by a simple\nshift at the base. Hierarchy is collapsed to a linear list when ApplyFixups() is called.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright 2003-2022, Phil Harvey (philharvey66 at gmail.com)\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Image::ExifTool(3pm)\n",
                "subsections": []
            }
        }
    }
}