HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sldtoppm — Convert an AutoCAD slide file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
sldtoppmcommandslideconvertclifileautocadppm

Problem

How to use the sldtoppm command: Convert an AutoCAD slide file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/sldtoppm.html>.

Solution

sldtoppm — Convert an AutoCAD slide file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/sldtoppm.html>.

Convert an SLD file to a PPM image:
sldtoppm {{path/to/input.sld}} > {{path/to/output.ppm}}


Compensate for non-square pixels by scaling the width of the image:
sldtoppm {{[-a|-adjust]}} {{path/to/input.sld}} > {{path/to/output.ppm}}

Code Snippets

Convert an SLD file to a PPM image

sldtoppm {{path/to/input.sld}} > {{path/to/output.ppm}}

Compensate for non-square pixels by scaling the width of the image

sldtoppm {{[-a|-adjust]}} {{path/to/input.sld}} > {{path/to/output.ppm}}

Context

tldr-pages: common/sldtoppm

Revisions (0)

No revisions yet.