rawtoppm(1) on Linux
The text b1fd48a1863c, as Debian 13 (Trixie), Debian 12 (Bookworm) shipped it.
convert a stream of raw RGB bytes to a PPM image
Flags it lists
-
-bgr -
-brg -
-gbr -
-grb -
-headerskip -
-interpixel -
-interrow -
-rbg -
-rgb -
-rowskip