# pamtouil

> Convert a PNM or PAM file into a Motif UIL icon file.
> More information: <https://netpbm.sourceforge.net/doc/pamtouil.html>.

- Convert a PNM or PAM file into a Motif UIL icon file:

`pamtouil {{path/to/input.pnm|pam}} > {{path/to/output.uil}}`

- Specify a prefix string to be printed in the output UIL file:

`pamtouil -name {{uilname}} {{path/to/input.pnm|pam}} > {{path/to/output.uil}}`
