sldtoppm

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

Install

All systems
curl cmd.cat/sldtoppm.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

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 -adjust path/to/input.sld > path/to/output.ppm

© tl;dr; authors and contributors