2023-10-19 13:31:46 +05:30
|
|
|
# palmtopnm
|
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
> Convert a Palm bitmap file to a PNM image.
|
2023-10-19 13:31:46 +05:30
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/palmtopnm.html>.
|
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
- Convert a Palm bitmap to a PNM image:
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
`palmtopnm {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
- Display information about the input file:
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
`palmtopnm -verbose {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
- Convert the n'th rendition of the image contained in the input file:
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
`palmtopnm -rendition {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
- Write a histogram of the colors in the input file to `stdout`:
|
2023-10-19 13:31:46 +05:30
|
|
|
|
2023-12-17 17:15:54 +01:00
|
|
|
`palmtopnm -showhist {{path/to/file.palm}} > {{path/to/file.pnm}}`
|
|
|
|
|
|
|
|
- Output the transparent color of the input image if set:
|
|
|
|
|
|
|
|
`palmtopnm -transparent {{path/to/file.palm}}`
|