pamtowinicon

converts PAM images to Windows ICO or CUR format

TLDR

Convert PAM to Windows icon
$ pamtowinicon [input.pam] > [output.ico]
Create cursor with hotspot
$ pamtowinicon -xhotspot [16] -yhotspot [16] [input.pam] > [output.cur]

SYNOPSIS

pamtowinicon [options] [file]

DESCRIPTION

pamtowinicon converts PAM images to Windows ICO (icon) or CUR (cursor) format. Supports multiple sizes in one file and transparency. Part of Netpbm toolkit.

PARAMETERS

-xhotspot n

X coordinate of cursor hotspot.
-yhotspot n
Y coordinate of cursor hotspot.
-truetransparent
Use true transparency instead of color key.

INSTALL

sudo apt install netpbm
sudo dnf install netpbm
sudo pacman -S netpbm
sudo apk add netpbm
sudo zypper install netpbm
brew install netpbm
nix profile install nixpkgs#netpbm

SEE ALSO

winicontopam(1), ppmtowinicon(1)