LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

psidtopgm

Convert PostScript image data to PGM

TLDR

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

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
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

pstopnm(1), pgmtopbm(1)

Copied to clipboard
Kai