| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Pamtouil User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>pamtouil</h1> |
| 5 |
Updated: 05 May 2002 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
|
| 9 |
<h2>NAME</h2> |
| 10 |
|
| 11 |
pamtouil - convert a PNM or PNM/transparency image into a Motif UIL icon file |
| 12 |
|
| 13 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 14 |
|
| 15 |
<b>pamtouil</b> [<b>-name=</b><i>uilname</i>] [<i>pamfile</i>] |
| 16 |
|
| 17 |
<p>You may abbreviate any option to its shortest unique prefix. |
| 18 |
You may use two hyphens instead of one to delimit an option. You may |
| 19 |
separate an option from its value with whitespace instead of <b>=</b>. |
| 20 |
|
| 21 |
<h2 id="description">DESCRIPTION</h2> |
| 22 |
|
| 23 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 24 |
|
| 25 |
<p><b>pamtouil</b> reads a PNM or PAM image as input and produces a Motif UIL |
| 26 |
icon file as output. If the input is PAM, it may be either a regular |
| 27 |
grayscale or color image or grayscale+transparency or color+transparency. |
| 28 |
Where the transparency channel is present, <b>pamtouil</b> renders pixels that |
| 29 |
are more than half transparent as transparent in the output. |
| 30 |
|
| 31 |
<p>In the UIL's colormap, <b>pamtouil</b> uses the color names from |
| 32 |
the RGB database -- the same one <b><a href="ppmmake.html">ppmmake</a></b> |
| 33 |
uses. Where a color in the input does not exactly match one of the colors |
| 34 |
named in the RGB database, <b>pamtouil</b> uses the closest color named |
| 35 |
in the RGB database. |
| 36 |
|
| 37 |
<h2 id="options">OPTIONS</h2> |
| 38 |
|
| 39 |
<p>In addition to the options common to all programs based on libnetpbm |
| 40 |
(most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> |
| 41 |
Common Options</a>), <b>pamtouil</b> recognizes the following |
| 42 |
command line option: |
| 43 |
|
| 44 |
<dl compact> |
| 45 |
|
| 46 |
<dt><b>-name</b> |
| 47 |
|
| 48 |
<dd> |
| 49 |
Allows you to specify the prefix string which is printed in the |
| 50 |
resulting UIL output. If not specified, will default to the filename |
| 51 |
(without extension) of the ppmfile argument. If <b>-name</b> is not |
| 52 |
specified and no ppmfile is specified (i.e. piped input), the |
| 53 |
prefix string will default to the string "noname". |
| 54 |
|
| 55 |
</dl> |
| 56 |
|
| 57 |
<h2 id="seealso">SEE ALSO</h2> |
| 58 |
|
| 59 |
<a href="pamstack.html">pamstack</a> |
| 60 |
<a href="pam.html">pam</a> |
| 61 |
<a href="ppm.html">ppm</a> |
| 62 |
|
| 63 |
<h2 id="history">HISTORY</h2> |
| 64 |
|
| 65 |
<p>Before May 2002, <b>pamtouil</b> was called <b>ppmtouil</b> and had no |
| 66 |
way to specify transparency. |
| 67 |
|
| 68 |
<h2 id="author">AUTHOR</h2> |
| 69 |
|
| 70 |
Converted by Bryan Henderson from ppmtouil.c, which was converted by |
| 71 |
Jef Poskanzer from ppmtoxpm.c, which is Copyright (C) 1990 by Mark |
| 72 |
W. Snitily |
| 73 |
|
| 74 |
<hr> |
| 75 |
<h2 id="index">Table Of Contents</h2> |
| 76 |
<ul> |
| 77 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 78 |
<li><a href="#description">DESCRIPTION</a> |
| 79 |
<li><a href="#options">OPTIONS</a> |
| 80 |
<li><a href="#seealso">SEE ALSO</a> |
| 81 |
<li><a href="#history">HISTORY</a> |
| 82 |
<li><a href="#author">AUTHOR</a> |
| 83 |
</ul> |
| 84 |
</body> |
| 85 |
</html> |