1Sldtoppm User Manual(0)                                Sldtoppm User Manual(0)
2
3
4

NAME

6       sldtoppm - convert an AutoCAD slide file to a PPM image
7
8

SYNOPSIS

10       sldtoppm  [-adjust]  [-dir]  [{-height|-ysize}  s] [-info] [{-lib|-Lib}
11       name] [-scale s] [-verbose] [{-width|-xsize} s] [slidefile]
12
13       All options can be abbreviated to their shortest unique prefix.
14
15

DESCRIPTION

17       This program is part of Netpbm(1).
18
19       sldtoppm reads an AutoCAD® slide file and outputs a PPM image.  If  you
20       don't  specify  slidefile,  sldtoppm  reads  input from Standard Input.
21       sldtoppm uses the ppmdraw library to convert the vector and polygon in‐
22       formation in the slide file to a raster; see the file ppmdraw.h for de‐
23       tails on this package.
24
25

OPTIONS

27       In addition to the options common to all programs  based  on  libnetpbm
28       (most notably -quiet, see
29        Common  Options  ⟨index.html#commonoptions⟩ ), sldtoppm recognizes the
30       following command line options:
31
32
33
34       -adjust
35              If the display on which the slide  file  was  created  had  non-
36              square  pixels,  when  you  process  the slide with sldtoppm and
37              don't specify -adjust, sldtoppm issues the following warning;
38
39              Warning - pixels on source screen were non-square.
40
41       Specifying -adjust will correct the image width to compensate.   Speci‐
42       fying  the -adjust option causes sldtoppm to scale the width of the im‐
43       age so that pixels in the resulting PPM image  are  square  (and  hence
44       circles  appear  as  true  circles, not ellipses).  The scaling is per‐
45       formed in the vector domain, before scan converting the  objects.   The
46       results  are,  therefore,  superior  in appearance to what you'd obtain
47       were you to perform the equivalent scaling with pamscale after the bit‐
48       map had been created.
49
50
51       -dir   The input is assumed to be an AutoCAD slide library file.  A di‐
52              rectory listing each slide in the library is printed on standard
53              error.
54
55
56       -height size
57              Scales  the  image  in the vector domain so it is size pixels in
58              height.  If you don't specify -width or -xsize, sldtoppm adjusts
59              the width to preserve the pixel aspect ratio.
60
61
62       -info  Dump  the  slide  file  header on standard error, displaying the
63              original screen size and aspect ratio among other information.
64
65
66       -lib name
67              Extracts the slide with the given name from  the  slide  library
68              given  as  input.  sldtoppm converts the specified name to upper
69              case.
70
71
72       -Lib name
73              Extracts the slide with the given name from  the  slide  library
74              given  as  input.   sldtoppm uses name in the case specified; it
75              does not convert it to upper case.
76
77
78       -scale s
79              Scales the image by factor s, which may be  any  floating  point
80              value greater than zero.  sldtoppm does the scaling after aspect
81              ratio adjustment, if any.  Since it does the scaling in the vec‐
82              tor  domain,  before rasterisation, the results look much better
83              than running the output of sldtoppm through pamscale.
84
85
86       -verbose
87              Dumps the slide file header and lists every vector  and  polygon
88              to Standard Error.
89
90
91       -width size
92              Scales the image in the vector domain so it is size pixels wide.
93              If you don't specify -height or  -ysize,  sldtoppm  adjusts  the
94              height to preserve the pixel aspect ratio.
95
96
97       -xsize size
98              Scales the image in the vector domain so it is size pixels wide.
99              If you don't specify -height or  -ysize,  sldtoppm  adjusts  the
100              height to preserve the pixel aspect ratio.
101
102
103       -ysize size
104              Scales  the  image  in the vector domain so it is size pixels in
105              height.  If you don't specify -width or -xsize, sldtoppm adjusts
106              the width to preserve the pixel aspect ratio.
107
108
109
110

LIMITATIONS

112       sldtoppm  can convert only Level 2 slides.  Level 1 format has been ob‐
113       solete since the advent of AutoCAD Release 9 in 1987, and was not  por‐
114       table across machine architectures.
115
116       Slide library items with names containing 8 bit (such as ISO) or 16 bit
117       (Kanji, for example) characters may not be found when chosen  with  the
118       -lib  option  unless  sldtoppm  was built with character set conversion
119       functions appropriate to the locale.  You can  always  retrieve  slides
120       from libraries regardless of the character set by using the -Lib option
121       and specifying the precise name of library member.  Use the -dir option
122       to list the slides in a library if you're unsure of the exact name.
123
124

SEE ALSO

126       AutoCAD Reference Manual: Slide File Format, pamscale(1), ppm(1)
127
128

AUTHOR

130       John Walker
131       Autodesk SA
132       Avenue des Champs-Montants 14b
133       CH-2074 MARIN
134       Suisse/Schweiz/Svizzera/Svizra/Switzerland
135           Usenet:kelvin@Autodesk.com
136           Fax:038/33 88 15
137           Voice:038/33 76 33
138
139
140       Permission  to  use, copy, modify, and distribute this software and its
141       documentation for any purpose and without fee is hereby granted,  with‐
142       out  any conditions or restrictions.  This software is provided "as is"
143       without express or implied warranty.
144
145       AutoCAD and Autodesk are registered trademarks of Autodesk, Inc.
146

DOCUMENT SOURCE

148       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
149       source.  The master documentation is at
150
151              http://netpbm.sourceforge.net/doc/sldtoppm.html
152
153netpbm documentation            10 October 1991        Sldtoppm User Manual(0)
Impressum