SLDTOPPM(1)
๐ SLDTOPPM โ the Sldtoppm User Manual, bestie edition ๐
okay so sldtoppm lives in section 1 of the manual (General Commands Manual, iykyk) ๐ we're doing this.
โจ NAME โจ
sldtoppm โ convert an AutoCAD slide file to a PPM image ๐ฆ
๐ธ SYNOPSIS ๐ธ
sldtoppm [-adjust] [-dir] [{-height|-ysize} s] [-info] [{-lib|-Lib}
name] [-scale s] [-verbose] [{-width|-xsize} s] [slidefile]
All options can be abbreviated to their shortest unique prefix. โจ (yes u can be lazy, it's a vibe)
๐ DESCRIPTION ๐
This program is part of Netpbm(1). periodt.
<sldtoppm reads an AutoCADยฎ slide file and outputs a PPM image ๐ซ If you don't specify slidefile, it just reads input from Standard Input โ no big deal, she's flexible.
She uses the ppmdraw library to convert the vector and polygon information in the slide file to a raster. ๐ If you want the tea on that package, go look at the file ppmdraw.h โ details live there.
๐ OPTIONS ๐
On top of the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), sldtoppm recognizes the following command line options, and bestie we are listing every single one:
-adjustโ if the display the slide file was created on had non-square pixels, and you process the slide withsldtoppmwithout-adjust, she's gonna warn you. And the warning is literally this:
Warning - pixels on source screen were non-square.
Specifying -adjust will correct the image width to compensate. ๐
It scales the width of the image so that pixels in the resulting PPM image are square โ which means circles show up as actual circles, not sad little ellipses. ๐ญ The scaling happens in the vector domain, before scan converting the objects. So the results are, therefore, superior in appearance to what you'd get if you did the equivalent scaling with pamscale after the bitmap had already been created. glow up achieved โจ
-dirโ the input is assumed to be an AutoCAD slide library file. A directory listing every slide in the library gets printed on standard error. ๐-heightsize โ scales the image in the vector domain so it is size pixels in height. If you don't specify-widthor-xsize,sldtoppmadjusts the width to preserve the pixel aspect ratio. ๐ฆ-infoโ dumps the slide file header on standard error, showing the original screen size and aspect ratio among other info. ๐-libname โ extracts the slide with the given name from the slide library given as input.sldtoppmconverts the specified name to UPPER CASE. ๐ (she's shouting, respectfully)-Libname โ extracts the slide with the given name from the slide library given as input.sldtoppmuses name in the case specified; it does not convert it to upper case. ๐ฏ case-sensitive queen-scales โ scales the image by factor s, which may be any floating point value greater than zero.sldtoppmdoes the scaling after aspect ratio adjustment, if any. And since she does the scaling in the vector domain, before rasterisation, the results look much better than running the output ofsldtoppmthroughpamscale. no cap ๐ฏ-verboseโ dumps the slide file header and lists every vector and polygon to Standard Error. she's telling you everything, she does not gatekeep ๐-widthsize โ scales the image in the vector domain so it is size pixels wide. If you don't specify-heightor-ysize,sldtoppmadjusts the height to preserve the pixel aspect ratio. ๐-xsizesize โ scales the image in the vector domain so it is size pixels wide. If you don't specify-heightor-ysize,sldtoppmadjusts the height to preserve the pixel aspect ratio. (yes she's twin sisters with-width, iconic) ๐-ysizesize โ scales the image in the vector domain so it is size pixels in height. If you don't specify-widthor-xsize,sldtoppmadjusts the width to preserve the pixel aspect ratio. ๐ซ
๐ LIMITATIONS ๐
okay so this is the part where we're honest, bestie:
sldtoppmcan convert only Level 2 slides. Level 1 format has been obsolete since the advent of AutoCAD Release 9 in 1987, and it was not portable across machine architectures. RIP to her but she's different now ๐ชฆ- Slide library items with names containing 8 bit (such as ISO) or 16 bit (Kanji, for example) characters may not be found when chosen with the
-liboption, unlesssldtoppmwas built with character set conversion functions appropriate to the locale. ๐ญ BUT. You can always retrieve slides from libraries regardless of the character set by using the-Liboption and specifying the precise name of the library member. ๐ซถ And if you're unsure of the exact name, use the-diroption to list the slides in a library. Problem solved, we move ๐
๐ SEE ALSO ๐
- AutoCAD Reference Manual: Slide File Format
pamscale(1)ppm(1)
๐ AUTHOR ๐
John Walker Autodesk SA Avenue des Champs-Montants 14b CH-2074 MARIN Suisse/Schweiz/Svizzera/Svizra/Switzerland
Usenet:kelvin@Autodesk.com
Fax:038/33 88 15
Voice:038/33 76 33
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, without any conditions or restrictions. โจ This software is provided "as is" without express or implied warranty. ๐คทโ๏ธ
AutoCAD and Autodesk are registered trademarks of Autodesk, Inc.
๐ DOCUMENT SOURCE ๐
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/sldtoppm.html
and that's the whole page, bestie โ go convert some slides, you've got this ๐
netpbm documentation, 10 October 1991 โ written by the netpbm girlies, dated 10 October 1991, and it's still giving ๐ โจ bye ily ๐ซถ๐
๐ฆ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 ยท MIT
- debian trixie: netpbm 2:11.10.02-1 ยท MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 ยท MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 ยท MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms