palmtopnm

Convert a Palm bitmap file to a PNM image. More information: <https://netpbm.sourceforge.net/doc/palmtopnm.html>.

Install

All systems
curl cmd.cat/palmtopnm.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

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

© tl;dr; authors and contributors