In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common
Options ), sldtoppm recognizes the following command line options:
-adjust
If the display on which the slide file was created had non-square pixels, when you process the
slide with sldtoppm and don't specify -adjust, sldtoppm issues the following warning;
Warning - pixels on source screen were non-square.
Specifying -adjust will correct the image width to compensate. Specifying the -adjust option causes
sldtoppm to scale the width of the image so that pixels in the resulting PPM image 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 pamscale after the bitmap had been created.
-dir The input is assumed to be an AutoCAD slide library file. A directory listing each slide in the
library is printed on standard error.
-heightsize
Scales the image in the vector domain so it is size pixels in height. If you don't specify -width
or -xsize, sldtoppm adjusts the width to preserve the pixel aspect ratio.
-info Dump the slide file header on standard error, displaying the original screen size and aspect ratio
among other information.
-libname
Extracts the slide with the given name from the slide library given as input. sldtoppm converts
the specified name to upper case.
-Libname
Extracts the slide with the given name from the slide library given as input. sldtoppm uses name
in the case specified; it does not convert it to upper case.
-scales
Scales the image by factor s, which may be any floating point value greater than zero. sldtoppm
does the scaling after aspect ratio adjustment, if any. Since it does the scaling in the vector
domain, before rasterisation, the results look much better than running the output of sldtoppm
through pamscale.
-verbose
Dumps the slide file header and lists every vector and polygon to Standard Error.
-widthsize
Scales the image in the vector domain so it is size pixels wide. If you don't specify -height or
-ysize, sldtoppm adjusts 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 -height or
-ysize, sldtoppm adjusts the height to preserve the pixel aspect ratio.
-ysizesize
Scales the image in the vector domain so it is size pixels in height. If you don't specify -width
or -xsize, sldtoppm adjusts the width to preserve the pixel aspect ratio.