PSIDTOPGM(1)
π psidtopgm β the manual, but make it make sense π
okay so bestie, this one's a General Commands Manual page β like, the classic Unix manual energy β and it's for a little program called psidtopgm. It's part of the Netpbm family. Let's get into it β¨
πΈ NAME πΈ
psidtopgm β converts PostScript "image" data into a PGM image. That's it. That's the whole job. π
π¦ SYNOPSIS π¦
psidtopgm width height bits/sample [imagedata]
β¨ DESCRIPTION β¨
So this program is part of Netpbm(1). It reads the "image" data out of a PostScript file as input, and it produces a PGM image as output. Simple transaction. π
β οΈ Heads up: this program is obsoleted bypstopnm. Like, it's the old way. The text that follows was written beforepstopnmeven existed. So keep that in mind, okay?
This is a very simple and limited program, and honestly? It's only here because so many people asked for it. π That's the vibe.
So the way you use it: you have to manually extract the readhexstring data portion from your PostScript file, and then you give the width, height, and bits/sample on the command line. Manual labour, but make it Unix. πͺ
Before you even attempt this, bestie, you should at least read the description of the "image" operator over in the PostScript Language Reference Manual. Like, please, for your own sake. π
Would it be hard to write a script that uses this filter to read one specific variety of PostScript image? Probably not, ngl. But the variation out there is just too great to make a general-purpose reader. Unlessβ¦ you wanna write a full-fledged PostScript interpreter? π Because that's the only way. Main character energy, honestly.
π OPTIONS π
okay so the thing is β there are no command line options defined specifically for psidtopgm. Zero. None. Periodt.
But it does recognize the options common to all programs based on libnetpbm. (See Common Options.)
- no
psidtopgm-specific flags β there just aren't any, and that's fine π«Ά - libnetpbm common options β these get recognized anyway, because it's a libnetpbm girlie (See Common Options.)
π₯ SEE ALSO π₯
pnmtops(1)pgm(1)
π AUTHOR π
Copyright (C) 1989 by Jef Poskanzer. Iconic behaviour, honestly. π
π§ DOCUMENT SOURCE π§
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation lives at:
http://netpbm.sourceforge.net/doc/psidtopgm.html
and that's the whole page, bestie β¨
This lil cutie was brought to you by netpbm documentation, dated way back on 02 August 89, and the manual itself answers to the name Psidtopgm User Manual(1) ππ byeeee π¦
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms