pnmtopalm
Convert a PNM image to a Palm bitmap. tldr-pages
On several platforms
Several platforms
Convert a PNM image to a Palm bitmap
pnmtopalm path/to/file.pnm >path/to/file.palmIdentifySpecify the color depth of the resulting bitmap
pnmtopalm -depth 1 path/to/file.pnm >path/to/file.palmIdentifyChoose a compression method for the resulting bitmap
pnmtopalm -scanline_compression path/to/file.pnm >path/to/file.palmIdentifyBuild a custom colormap and include it in the resulting bitmap
pnmtopalm -colormap path/to/file.pnm >path/to/file.palmIdentifySpecify the bitmap's density
pnmtopalm -density 72 path/to/file.pnm >path/to/file.palmIdentify