{
    "content": [
        {
            "type": "text",
            "text": "# ebb(1) (man)\n\n**Summary:** extractbb, ebb - extract bounding box information from graphics files\n\n**Synopsis:** extractbb [-v|-q] [-O] [-m|-x] file...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -v | — | — |  |\n| -q | — | — |  |\n| -O | — | — |  |\n| -m | — | — |  |\n| -x | — | — | by pdfTeX. |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (9 lines)\n- **OPTIONS** (1 lines) — 5 subsections\n  - -v (1 lines)\n  - -q (1 lines)\n  - -O (1 lines)\n  - -m (1 lines)\n  - -x (2 lines)\n- **OUTPUT FORMATS** (9 lines)\n- **BUGS** (5 lines)\n- **AUTHOR** (10 lines)\n\n## Full Content\n\n### NAME\n\nextractbb, ebb - extract bounding box information from graphics files\n\n### SYNOPSIS\n\nextractbb [-v|-q] [-O] [-m|-x] file...\n\n### DESCRIPTION\n\nFor  each  JPEG,  PNG, or PDF file given on the command line, extractbb extracts the bounding\nbox information and writes it into a file with extension .xbb, together with some header  in‐\nformation.  These  files  can  then be used by dvipdfmx or other programs. For PDF files, the\nnumber of pages and the PDF version number are reported as well.  The input  filename  exten‐\nsion may be in upper or lower case.\n\nIf called as ebb, the output is written in the ``bb'' format (and with extension .bb) as used\nby dvipdfm.  Xbb may be defined as a synomym for extractbb on your system.\n\n### OPTIONS\n\n#### -v\n\n#### -q\n\n#### -O\n\n#### -m\n\n#### -x\n\nby pdfTeX.\n\n### OUTPUT FORMATS\n\nHere are more details about the bb and xbb formats:\n\nThe  original  ebb (from dvipdfm) ignored density information in bitmap images, and generated\nbounding boxes with 100px = 72bp = 1in.  Unfortunately, screenshots (especially) tend to look\nbad with this approach.\n\nSo,  extractbb  (from dvipdfmx) uses density information if present.  Otherwise, it generates\nbounding box with 100px = 100bp.  This is what pdfTeX does.\n\n### BUGS\n\nThere is currently no way to specify which bounding box is taken for PDF files. It  will  al‐\nways  be  the  first one from the following list: ArtBox, TrimBox, BleedBox, MediaBox. (Often\nonly MediaBox is defined.) Moreover, the reported bounding box always  refers  to  the  first\npage in a PDF file.\n\n### AUTHOR\n\nextractbb  was  written by the DVIPDFMx project team <dvipdfmx@ktug.or.kr>, based on the pro‐\ngram ebb by Mark A. Wicks.\n\nThis manual page was also written by the DVIPDFMx project team, based on a manual page  Frank\nKüster <frank@kuesterei.ch> wrote for the Debian GNU/Linux system.  It may be used, modified,\nand/or redistributed by others without contacting the authors.\n\n\n\n20120420                                    20 April 2012                               EXTRACTBB(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "ebb",
        "section": "1",
        "mode": "man",
        "summary": "extractbb, ebb - extract bounding box information from graphics files",
        "synopsis": "extractbb [-v|-q] [-O] [-m|-x] file...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-q",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-O",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-m",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-x",
                "long": null,
                "arg": null,
                "description": "by pdfTeX."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-q",
                        "lines": 1,
                        "flag": "-q"
                    },
                    {
                        "name": "-O",
                        "lines": 1,
                        "flag": "-O"
                    },
                    {
                        "name": "-m",
                        "lines": 1,
                        "flag": "-m"
                    },
                    {
                        "name": "-x",
                        "lines": 2,
                        "flag": "-x"
                    }
                ]
            },
            {
                "name": "OUTPUT FORMATS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 10,
                "subsections": []
            }
        ]
    }
}