rawtopgm(1) on Linux
The text deac0780fdf0, as Debian 13 (Trixie), Debian 12 (Bookworm) shipped it.
convert raw grayscale bytes to a PGM image
Flags it lists
-
-bottomfirst -
-bpp -
-bt -
-headerskip -
-littleendian -
-maxval -
-rowskip