1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 00:02:09 +02:00
tldr/pages/common/palmtopnm.md
Juri Dispan 45fde32689
pnmtopalm: add page; palmtopnm: modify page (#11751)
* palmtopnm, pnmtopalm: add pages

* move to common

* fix typos

* Update pages/common/palmtopnm.md

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* Update pages/common/pnmtopalm.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-17 17:15:54 +01:00

730 B

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:

palmtopnm -verbose {{path/to/file.palm}} > {{path/to/file.pnm}}

  • Convert the n'th rendition of the image contained in the input file:

palmtopnm -rendition {{n}} {{path/to/file.palm}} > {{path/to/file.pnm}}

  • Write a histogram of the colors in the input file to stdout:

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}}