2025-03-14 21:59:59 -06:00
|
|
|
# palmtopnm
|
|
|
|
|
|
|
|
|
|
> Convert a Palm bitmap file to a PNM image.
|
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/palmtopnm.html>.
|
|
|
|
|
|
|
|
|
|
- Convert a Palm bitmap to a PNM image:
|
|
|
|
|
|
|
|
|
|
`palmtopnm {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
|
|
|
|
|
|
|
|
|
- Display information about the input file:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`palmtopnm {{[-verb|-verbose]}} {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Convert the n'th rendition of the image contained in the input file:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`palmtopnm {{[-r|-rendition]}} {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Write a histogram of the colors in the input file to `stdout`:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`palmtopnm {{[-s|-showhist]}} {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Output the transparent color of the input image if set:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`palmtopnm {{[-t|-transparent]}} {{path/to/file.palm}}`
|