psidtopgm

Convert PostScript image data to a PGM image. More information: <https://netpbm.sourceforge.net/doc/psidtopgm.html>.

Install

All systems
curl cmd.cat/psidtopgm.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 PostScript image data to a PGM image. More information: <https://netpbm.sourceforge.net/doc/psidtopgm.html>.

  • Convert the image data in a PS file to a PGM image of the specified dimensions and quality:
    psidtopgm width height bits_per_sample path/to/file.ps > path/to/image.pgm

© tl;dr; authors and contributors