.TL Pamtouil User Manual .SH 1 pamtouil .LP Updated: 05 May 2002 .br Table Of Contents .SH 2 NAME .LP pamtouil - convert a PNM or PNM/alpha image into a Motif UIL icon file .SH 2 SYNOPSIS .LP \fBpamtouil\fR [\fB-name=\fR\fIuilname\fR] [\fIpamfile\fR] .LP You may abbreviate any option to its shortest unique prefix. You may use two hyphens instead of one to delimit an option. You may separate an option from its value with whitespace instead of \fB=\fR. .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpamtouil\fR reads a PNM or PAM image as input and produces a Motif UIL icon file as output. If the input is PAM, it may be either a regular grayscale or color image or grayscale+alpha or color+alpha. Where the alpha channel is present, \fBpamtouil\fR renders pixels that are more than half transparent as transparent in the output. .LP In the UIL's colormap, \fBpamtouil\fR uses the color names from the RGB database -- the same one \fBppmmake\fR uses. Where a color in the input does not exactly match one of the colors named in the RGB database, \fBpamtouil\fR uses the closest color named in the RGB database. .SH 2 OPTIONS .LP .RS .IP "\fB-name\fR" Allows you to specify the prefix string which is printed in the resulting UIL output. If not specified, will default to the filename (without extension) of the ppmfile argument. If \fB-name\fR is not specified and no ppmfile is specified (i.e. piped input), the prefix string will default to the string "noname". .RE .SH 2 SEE ALSO .LP pam pam ppm .SH 2 HISTORY .LP .LP Before May 2002, \fBpamtouil\fR was called \fBppmtouil\fR and had no way to specify transparency. .SH 2 AUTHOR .LP Converted by Bryan Henderson from ppmtouil.c, which was converted by Jef Poskanzer from ppmtoxpm.c, which is Copyright (C) 1990 by Mark W. Snitily .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP