---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 {{[-n|-name]}} {{uilname}} {{path/to/input.pnm|pam}} > {{path/to/output.uil}}`
