← 返回命令列表

Linux command

sldtoppm 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert AutoCAD slide to PPM

sldtoppm [input.sld] > [output.ppm]

Specify output size

sldtoppm -xsize [640] -ysize [480] [input.sld] > [output.ppm]

Extract a slide from a library

sldtoppm -lib [slide_name] [library.slb] > [output.ppm]

Adjust for square pixels

sldtoppm -adjust [input.sld] > [output.ppm]

List slides in a library

sldtoppm -dir [library.slb]

说明

sldtoppm converts AutoCAD slide (.sld) files and slide library (.slb) files to PPM format. Slides were used for presentations in AutoCAD. Part of the Netpbm toolkit.

参数

-xsize _n_, -width _n_
Output width in pixels.
-ysize _n_, -height _n_
Output height in pixels.
-adjust
Scale width so output pixels are square.
-lib _name_
Extract named slide from library (converts name to upper case).
-Lib _name_
Extract named slide from library (case-sensitive).
-dir
List slides in a slide library.
-scale _s_
Scale the image by factor s (floating point, > 0).
-info
Dump slide header and vectors to stderr.
-verbose
Print slide information to stderr.

FAQ

What is the sldtoppm command used for?

sldtoppm converts AutoCAD slide (.sld) files and slide library (.slb) files to PPM format. Slides were used for presentations in AutoCAD. Part of the Netpbm toolkit.

How do I run a basic sldtoppm example?

Run `sldtoppm [input.sld] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -xsize _n_, -width _n_ do in sldtoppm?

Output width in pixels.