Options (2)
booleanEncode images with resolutions smaller than `t` in the BMP format and all other images in the PNG format
Example:
pamtowinicon {{[-pn|-pngthreshold]}} {{t}} {{path/to/input_file.pam}} > {{path/to/output.ico}}-tbooleanMake all pixels outside the non-opaque area black
Example:
pamtowinicon {{[-t|-truetransparent]}} {{path/to/input_file.pam}} > {{path/to/output.ico}}Examples (3)
Convert a PAM image file to an ICO file
pamtowinicon path/to/input_file.pam > path/to/output.icoEncode images with resolutions smaller than `t` in the BMP format and all other images in the PNG format
pamtowinicon [-pn|-pngthreshold] t path/to/input_file.pam > path/to/output.icoMake all pixels outside the non-opaque area black
pamtowinicon [-t|-truetransparent] path/to/input_file.pam > path/to/output.icomade by @shridhargupta | data from tldr-pages