Files
cheatsheet-tldr/tldr/sldtoppm
2025-04-02 00:19:10 +00:00

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}}`