mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
470 B
Plaintext
18 lines
470 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|