Convert a Palm bitmap file to a PNM image. More information: https://netpbm.sourceforge.net/doc/palmtopnm.html.
palmtopnm path/to/file.palm > path/to/file.pnm
palmtopnm -verbose path/to/file.palm > path/to/file.pnm
palmtopnm -rendition n path/to/file.palm > path/to/file.pnm
stdout
:palmtopnm -showhist path/to/file.palm > path/to/file.pnm
palmtopnm -transparent path/to/file.palm