{
    "content": [
        {
            "type": "text",
            "text": "# jpegexiforient (man)\n\n## NAME\n\njpegexiforient - reads or writes the Exif Orientation Tag\n\n## SYNOPSIS\n\njpegexiforient [switches] jpegfile\n\n## DESCRIPTION\n\nThis  is  a utility program to get and set the Exif Orientation Tag.  It can be used together\nwith jpegtran in scripts for automatic orientation correction of digital camera pictures.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (3 subsections)\n- **AUTHOR**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "jpegexiforient",
        "section": "",
        "mode": "man",
        "summary": "jpegexiforient - reads or writes the Exif Orientation Tag",
        "synopsis": "jpegexiforient [switches] jpegfile",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-8",
                "long": null,
                "arg": null,
                "description": "Set orientation value 1 .. 8"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 41,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    },
                    {
                        "name": "-n",
                        "lines": 1,
                        "flag": "-n"
                    },
                    {
                        "name": "-1  -8",
                        "lines": 2,
                        "flag": "-8"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "jpegtran(1), exifautotran(1)",
                        "lines": 1
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "jpegexiforient - reads or writes the Exif Orientation Tag\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "jpegexiforient [switches] jpegfile\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This  is  a utility program to get and set the Exif Orientation Tag.  It can be used together\nwith jpegtran in scripts for automatic orientation correction of digital camera pictures.\n\nThe Exif orientation value gives the orientation of the camera relative to the scene when the\nimage was captured.  The relation of the '0th row' and '0th column'  to  visual  position  is\nshown as below.\n\nValue | 0th Row     | 0th Column\n------+-------------+-----------\n1   | top         | left side\n2   | top         | right side\n3   | bottom      | right side\n4   | bottom      | left side\n5   | left side   | top\n6   | right side  | top\n7   | right side  | bottom\n8   | left side   | bottom\n\nFor  convenience,  here  is what the letter F would look like if it were tagged correctly and\ndisplayed by a program that ignores the orientation tag:\n\n1        2       3      4\n\n888888  888888      88  88\n88          88      88  88\n8888      8888    8888  8888\n88          88      88  88\n88          88  888888  888888\n\n5            6           7          8\n\n8888888888  88                  88  8888888888\n88  88      88  88          88  88      88  88\n88          8888888888  8888888888          88\n\njpegexiforient output the Exif Orientation Tag in a JPEG Exif file.  With the options  -1  ..\n-8, it can also be used to set the tag.\n\nOPTIONS\n--help display this help and exit\n",
                "subsections": [
                    {
                        "name": "--version",
                        "content": "output version information and exit\n",
                        "long": "--version"
                    },
                    {
                        "name": "-n",
                        "content": "",
                        "flag": "-n"
                    },
                    {
                        "name": "-1  -8",
                        "content": "Set orientation value 1 .. 8\n",
                        "flag": "-8"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Guido Vollbeding <guido@jpegclub.org>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "jpegtran(1), exifautotran(1)",
                        "content": "jpegexiforient                              February 2005                          JPEGEXIFORIENT(1)"
                    }
                ]
            }
        }
    }
}