Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
sldtoppm(1)
Edit
PageHistory
Diff
Info
LikePages
sldtoppm !!!sldtoppm NAME SYNOPSIS DESCRIPTION OPTIONS BUGS SEE ALSO AUTHOR ---- !!NAME sldtoppm - convert an AutoCAD slide file into a portable pixmap !!SYNOPSIS __sldtoppm__ [[__-adjust__] [[__-dir__] [[__-height__|__-ysize__ ''s''] [[__-info__] [[__-lib__|__-Lib__ ''name''] [[__-scale__ ''s''] [[__-verbose__] [[__-width__|__-xsize__ ''s''] [[''slidefile''] !!DESCRIPTION Reads an AutoCAD slide file and outputs a portable pixmap. If no ''slidefile'' is specified, input is read from standard input. The ppmdraw library is used to convert the vector and polygon information in the slide file to a pixmap; see the file ppmdraw.h for details on this package. !!OPTIONS __-adjust__ 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. __-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. __-height__ ''size'' 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. __-info__ Dump the slide file header on standard error, displaying the original screen size and aspect ratio among other information. __-lib__ ''name'' Extracts the slide with the given ''name'' from the slide library given as input. The specified ''name'' is converted to upper case. __-Lib__ ''name'' 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. __-scale__ ''s'' 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__. __-verbose__ Dumps the slide file header and lists every vector and polygon in the file on standard error. __-width__ ''size'' 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. __-xsize__ ''size'' 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. __-ysize__ ''size'' 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. !!BUGS Only Level 2 slides are converted. Level 1 format has been obsolete since the advent of AutoCAD Release 9 in 1987, and was not portable across machine architectures. 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 __-lib__ option unless __sldtoppm__ has been built with character set conversion functions appropriate to the locale. You can always retrieve slides from libraries regardless of the character set by using the __-Lib__ option and specifying the precise name of library member. Use the __-dir__ option to list the slides in a library if you're unsure of the exact name. !!SEE ALSO AutoCAD Reference Manual: ''Slide File Format'', pnmscale(1), ppm(5) !!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. ----
3 pages link to
sldtoppm(1)
:
pbmfilters(1)
ppm(5)
Man1s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.