Options (3)
booleanSpecify the color depth of the resulting bitmap
Example:
pnmtopalm {{[-dep|-depth]}} {{1|2|4|8|16}} {{path/to/file.pnm}} > {{path/to/file.palm}}-cbooleanBuild a custom colormap and include it in the resulting bitmap
Example:
pnmtopalm {{[-c|-colormap]}} {{path/to/file.pnm}} > {{path/to/file.palm}}booleanSpecify the bitmap's density
Example:
pnmtopalm {{[-den|-density]}} {{72|108|144|216|288}} {{path/to/file.pnm}} > {{path/to/file.palm}}Examples (5)
Convert a PNM image to a Palm bitmap
pnmtopalm path/to/file.pnm > path/to/file.palmSpecify the color depth of the resulting bitmap
pnmtopalm [-dep|-depth] 1|2|4|8|16 path/to/file.pnm > path/to/file.palmChoose a compression method for the resulting bitmap
pnmtopalm -scanline_compression|rle_compression|packbits_compression path/to/file.pnm > path/to/file.palmBuild a custom colormap and include it in the resulting bitmap
pnmtopalm [-c|-colormap] path/to/file.pnm > path/to/file.palmSpecify the bitmap's density
pnmtopalm [-den|-density] 72|108|144|216|288 path/to/file.pnm > path/to/file.palmmade by @shridhargupta | data from tldr-pages