{
    "content": [
        {
            "type": "text",
            "text": "# sldtoppm(1) (man)\n\n**Summary:** sldtoppm - convert an AutoCAD slide file into a portable pixmap\n\n**Synopsis:** sldtoppm [-adjust] [-dir] [-height|-ysize s] [-info] [-lib|-Lib name] [-scale s] [-verbose]\n[-width|-xsize s] [slidefile]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | If the display on which the slide file was created had non-square pixels, when the slide is processed with sldtoppm and  |\n| — | — | — | slide in the library is printed on standard error. |\n| — | — | — | Scales the image in the vector domain so it is size pixels in height. If no -width or -xsize option is specified, the wi |\n| — | — | — | aspect ratio among other information. |\n| — | — | — | Extracts the slide with the given name from the slide library given as input. The specified name is converted to upper c |\n| — | — | — | Extracts the slide with the given name from the slide library given as input. The name is used exactly as specified; it  |\n| — | — | — | Scales the image by factor s, which may be any floating point value greater than zero. Scaling is done after aspect rati |\n| — | — | — | Dumps the slide file header and lists every vector and polygon in the file on standard error. |\n| — | — | — | Scales the image in the vector domain so it is size pixels wide. If no -height or -ysize option is specified, the height |\n| — | — | — | Scales the image in the vector domain so it is size pixels wide. If no -height or -ysize option is specified, the height |\n| — | — | — | Scales the image in the vector domain so it is size pixels in height. If no -width or -xsize option is specified, the wi |\n\n## See Also\n\n- pnmscale(1)\n- ppm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (1 lines) — 11 subsections\n  - -adjust (12 lines)\n  - -dir (2 lines)\n  - -height (4 lines)\n  - -info (2 lines)\n  - -lib (3 lines)\n  - -Lib (3 lines)\n  - -scale (5 lines)\n  - -verbose (3 lines)\n  - -width (4 lines)\n  - -xsize (4 lines)\n  - -ysize (6 lines)\n- **BUGS** (10 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (18 lines)\n\n## Full Content\n\n### NAME\n\nsldtoppm - convert an AutoCAD slide file into a portable pixmap\n\n### SYNOPSIS\n\nsldtoppm [-adjust] [-dir] [-height|-ysize s] [-info] [-lib|-Lib name] [-scale s] [-verbose]\n[-width|-xsize s] [slidefile]\n\n### DESCRIPTION\n\nReads an AutoCAD® slide file and outputs a portable pixmap.  If no  slidefile  is  specified,\ninput  is  read  from  standard input.  The ppmdraw library is used to convert the vector and\npolygon information in the slide file to a pixmap; see the file ppmdraw.h for details on this\npackage.\n\n### OPTIONS\n\n#### -adjust\n\nIf  the  display  on  which the slide file was created had non-square pixels, when the\nslide is processed with sldtoppm and the -adjust option is not present, the  following\nwarning will appear:\nWarning - pixels on source screen were non-square.\nSpecifying -adjust will correct image width to compensate.\nSpecifying  the -adjust option causes sldtoppm to scale the width of the image so that\npixels in the resulting portable pixmap are square (and hence circles appear  as  true\ncircles,  not  ellipses).   The scaling is performed in the vector domain, before scan\nconverting the objects.  The results are, therefore, superior in  appearance  to  what\nyou'd obtain were you to perform the equivalent scaling with pnmscale after the bitmap\nhad been created.\n\n#### -dir\n\nslide in the library is printed on standard error.\n\n#### -height\n\nScales the image in the vector domain so it is size pixels in height.  If no -width or\n-xsize option is specified, the width will be adjusted to preserve  the  pixel  aspect\nratio.\n\n#### -info\n\naspect ratio among other information.\n\n#### -lib\n\nExtracts the slide with the given name from the slide library  given  as  input.   The\nspecified name is converted to upper case.\n\n#### -Lib\n\nExtracts  the  slide  with  the given name from the slide library given as input.  The\nname is used exactly as specified; it is not converted to upper case.\n\n#### -scale\n\nScales the image by factor s, which may be any floating point value greater than zero.\nScaling  is done after aspect ratio adjustment, if any.  Since scaling is performed in\nthe vector domain, before rasterisation, the results look much better than running the\noutput of sldtoppm through pnmscale.\n\n#### -verbose\n\nDumps the slide file header and lists every vector and polygon in the file on standard\nerror.\n\n#### -width\n\nScales the image in the vector domain so it is size pixels wide.   If  no  -height  or\n-ysize  option  is specified, the height will be adjusted to preserve the pixel aspect\nratio.\n\n#### -xsize\n\nScales the image in the vector domain so it is size pixels wide.   If  no  -height  or\n-ysize  option  is specified, the height will be adjusted to preserve the pixel aspect\nratio.\n\n#### -ysize\n\nScales the image in the vector domain so it is size pixels in height.  If no -width or\n-xsize  option  is  specified, the width will be adjusted to preserve the pixel aspect\nratio.\n\nAll flags can be abbreviated to their shortest unique prefix.\n\n### BUGS\n\nOnly Level 2 slides are converted.  Level 1 format has been obsolete since the advent of  Au‐\ntoCAD Release 9 in 1987, and was not portable across machine architectures.\n\nSlide  library items with names containing 8 bit (such as ISO) or 16 bit (Kanji, for example)\ncharacters may not be found when chosen with the -lib option unless sldtoppm has  been  built\nwith  character  set conversion functions appropriate to the locale.  You can always retrieve\nslides from libraries regardless of the character set by using the -Lib option and specifying\nthe  precise  name of library member.  Use the -dir option to list the slides in a library if\nyou're unsure of the exact name.\n\n### SEE ALSO\n\nAutoCAD Reference Manual: Slide File Format, pnmscale(1), ppm(5)\n\n### AUTHOR\n\nJohn Walker\nAutodesk SA\nAvenue des Champs-Montants 14b\nCH-2074 MARIN\nSuisse/Schweiz/Svizzera/Svizra/Switzerland\nUsenet:  kelvin@Autodesk.com\nFax:     038/33 88 15\nVoice:   038/33 76 33\n\nPermission to use, copy, modify, and distribute this software and its documentation  for  any\npurpose  and  without  fee  is  hereby granted, without any conditions or restrictions.  This\nsoftware is provided ``as is'' without express or implied warranty.\n\nAutoCAD and Autodesk are registered trademarks of Autodesk, Inc.\n\n\n\n10 October 1991                               sldtoppm(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "sldtoppm",
        "section": "1",
        "mode": "man",
        "summary": "sldtoppm - convert an AutoCAD slide file into a portable pixmap",
        "synopsis": "sldtoppm [-adjust] [-dir] [-height|-ysize s] [-info] [-lib|-Lib name] [-scale s] [-verbose]\n[-width|-xsize s] [slidefile]",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "If the display on which the slide file was created had non-square pixels, when the slide is processed with sldtoppm and the -adjust option is not present, the following warning will appear: Warning - pixels on source screen were non-square. Specifying -adjust will correct image width to compensate. Specifying the -adjust option causes sldtoppm to scale the width of the image so that pixels in the resulting portable pixmap are square (and hence circles appear as true circles, not ellipses). The scaling is performed in the vector domain, before scan converting the objects. The results are, therefore, superior in appearance to what you'd obtain were you to perform the equivalent scaling with pnmscale after the bitmap had been created."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "slide in the library is printed on standard error."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Scales the image in the vector domain so it is size pixels in height. If no -width or -xsize option is specified, the width will be adjusted to preserve the pixel aspect ratio."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "aspect ratio among other information."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Extracts the slide with the given name from the slide library given as input. The specified name is converted to upper case."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Extracts the slide with the given name from the slide library given as input. The name is used exactly as specified; it is not converted to upper case."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Scales the image by factor s, which may be any floating point value greater than zero. Scaling is done after aspect ratio adjustment, if any. Since scaling is performed in the vector domain, before rasterisation, the results look much better than running the output of sldtoppm through pnmscale."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Dumps the slide file header and lists every vector and polygon in the file on standard error."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Scales the image in the vector domain so it is size pixels wide. If no -height or -ysize option is specified, the height will be adjusted to preserve the pixel aspect ratio."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Scales the image in the vector domain so it is size pixels wide. If no -height or -ysize option is specified, the height will be adjusted to preserve the pixel aspect ratio."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Scales the image in the vector domain so it is size pixels in height. If no -width or -xsize option is specified, the width will be adjusted to preserve the pixel aspect ratio. All flags can be abbreviated to their shortest unique prefix."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pnmscale",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmscale/1/json"
            },
            {
                "name": "ppm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-adjust",
                        "lines": 12
                    },
                    {
                        "name": "-dir",
                        "lines": 2
                    },
                    {
                        "name": "-height",
                        "lines": 4
                    },
                    {
                        "name": "-info",
                        "lines": 2
                    },
                    {
                        "name": "-lib",
                        "lines": 3
                    },
                    {
                        "name": "-Lib",
                        "lines": 3
                    },
                    {
                        "name": "-scale",
                        "lines": 5
                    },
                    {
                        "name": "-verbose",
                        "lines": 3
                    },
                    {
                        "name": "-width",
                        "lines": 4
                    },
                    {
                        "name": "-xsize",
                        "lines": 4
                    },
                    {
                        "name": "-ysize",
                        "lines": 6
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 18,
                "subsections": []
            }
        ]
    }
}