pnmtops
Convert a PNM image to a PostScript file. More information: <https://netpbm.sourceforge.net/doc/pnmtops.html>.
Install
- All systems
-
curl cmd.cat/pnmtops.sh
- Debian
-
apt-get install netpbm - Ubuntu
-
apt-get install netpbm - Arch Linux
-
pacman -S netpbm - Kali Linux
-
apt-get install netpbm - CentOS
-
yum install netpbm-progs - Fedora
-
dnf install netpbm-progs - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install netpbm - OS X
-
brew install netpbm - Raspbian
-
apt-get install netpbm
Convert a PNM image to a PostScript file. More information: <https://netpbm.sourceforge.net/doc/pnmtops.html>.
-
Convert a PNM image to a PS file:
pnmtops path/to/file.pnm > path/to/file.ps -
Specify the dimensions of the output image in inches:
pnmtops -imagewidth imagewidth -imageheight imageheight path/to/file.pnm > path/to/file.ps -
Specify the dimensions of the page the output image resides on in inches:
pnmtops -width width -height height path/to/file.pnm > path/to/file.ps
© tl;dr; authors and contributors