pnmtopalm(1) on Linux
The text 65b6e88c09a3, as Debian 13 (Trixie), Debian 12 (Bookworm) shipped it.
convert a PNM image to a Palm Bitmap
Flags it lists
-
-colormap -
-density -
-depth -
-maxdepth -
-offset -
-packbits_compression -
-rle_compression -
-scanline_compression -
-transparent -
-verbose -
-withdummy