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
22       information  in  the slide file to a raster; see the file ppmdraw.h for
23       details on this package.
24
25

OPTIONS

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

LIMITATIONS

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

SEE ALSO

119       AutoCAD Reference Manual: Slide File Format, pamscale(1), ppm(1)
120
121

AUTHOR

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

DOCUMENT SOURCE

140       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
141       source.  The master documentation is at
142
143              http://netpbm.sourceforge.net/doc/sldtoppm.html
144
145netpbm documentation            10 October 1991        Sldtoppm User Manual(0)
Impressum