psidtopgm

Convert PostScript image data to PGM

TLDR

Convert PostScript image to PGM
$ psidtopgm [width] [height] [bits] [input.ps] > [output.pgm]

SYNOPSIS

psidtopgm width height bits [file]

DESCRIPTION

psidtopgm extracts a grayscale image from a PostScript image data operator output and converts to PGM. Part of Netpbm toolkit.

PARAMETERS

width

Image width.
height
Image height.
bits
Bits per sample.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

SEE ALSO

pstopnm(1), pgmtopbm(1)