# phpman > man > ppmtouil(1)

> **TLDR:** This command has been superseded by `pamtouil`.
>
- View documentation for the current command:
  `tldr pamtouil`

*Source: tldr-pages*

---

[ppmtouil(1)](https://www.chedong.com/phpMan.php/man/ppmtouil/1/markdown)                            General Commands Manual                           [ppmtouil(1)](https://www.chedong.com/phpMan.php/man/ppmtouil/1/markdown)



## NAME
       ppmtouil - convert a portable pixmap into a Motif UIL icon file

## SYNOPSIS
       **ppmtouil** [**-name** _uilname_] [_ppmfile_]

## DESCRIPTION
       Reads a portable pixmap as input.  Produces a Motif UIL icon file as output.

       If  the program was compiled with an rgb database specified, and a RGB value from the ppm in‐
       put matches a RGB value from the database, then the  corresponding  color  name  mnemonic  is
       printed  in  the  UIL's  colormap.   If no rgb database was compiled in, or if the RGB values
       don't match, then the color will be printed with the #RGB, #RRGGBB, #RRRGGGBBB, or #RRRRGGGG‐
       BBBB hexadecimal format.

## OPTIONS
### -name
              If not specified, will default to the filename (without extension) of the ppmfile  ar‐
              gument.  If **-name** is not specified and no ppmfile is specified (i.e. piped input), the
              prefix string will default to the string "noname".

       All flags can be abbreviated to their shortest unique prefix.

## SEE ALSO
       [ppm(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)

## AUTHOR
       Converted by Jef Poskanzer from ppmtoxpm.c, which is Copyright (C) 1990 by Mark W. Snitily



                                           31 August 1990                                [ppmtouil(1)](https://www.chedong.com/phpMan.php/man/ppmtouil/1/markdown)
