Files
cheatsheet-tldr/tldr/psidtopgm

14 lines
420 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# psidtopgm
> 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}}`