{
    "mode": "man",
    "parameter": "rdjpgcom",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/rdjpgcom/1/json",
    "generated": "2026-06-03T01:49:01Z",
    "synopsis": "rdjpgcom [ -raw ] [ -verbose ] [ filename ]",
    "sections": {
        "NAME": {
            "content": "rdjpgcom - display text comments from a JPEG file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "rdjpgcom [ -raw ] [ -verbose ] [ filename ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "rdjpgcom  reads  the  named  JPEG/JFIF  file,  or the standard input if no file is named, and\nprints any text comments found in the file on the standard output.\n\nThe JPEG standard allows \"comment\" (COM) blocks to occur within a JPEG  file.   Although  the\nstandard  doesn't actually define what COM blocks are for, they are widely used to hold user-\nsupplied text strings.  This lets you add annotations, titles, index terms, etc to your  JPEG\nfiles, and later retrieve them as text.  COM blocks do not interfere with the image stored in\nthe JPEG file.  The maximum size of a COM block is 64K, but you can have as many of  them  as\nyou like in one JPEG file.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-raw",
                    "content": "This option avoids that.\n"
                },
                {
                    "name": "-verbose",
                    "content": "Switch names may be abbreviated, and are not case sensitive.\n"
                }
            ]
        },
        "HINTS": {
            "content": "rdjpgcom does not depend on the IJG JPEG library.  Its source code is intended as  an  illus‐\ntration of the minimum amount of code required to parse a JPEG file header correctly.\n\nIn  -verbose mode, rdjpgcom will also attempt to print the contents of any \"APP12\" markers as\ntext.  Some digital cameras produce APP12 markers containing useful textual information.   If\nyou like, you can modify the source code to print other APPn marker types as well.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "cjpeg(1), djpeg(1), jpegtran(1), wrjpgcom(1)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Independent JPEG Group\n\n\n\n02 April 2009                                RDJPGCOM(1)",
            "subsections": []
        }
    },
    "summary": "rdjpgcom - display text comments from a JPEG file",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option avoids that."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Switch names may be abbreviated, and are not case sensitive."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "cjpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/cjpeg/1/json"
        },
        {
            "name": "djpeg",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/djpeg/1/json"
        },
        {
            "name": "jpegtran",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/jpegtran/1/json"
        },
        {
            "name": "wrjpgcom",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/wrjpgcom/1/json"
        }
    ]
}