96 lines
2.3 KiB
HTML
96 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of ppmtouil</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>ppmtouil</H1>
|
|
Section: User Commands (1)<BR>Updated: 31 August 1990<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ppmtouil - convert a portable pixmap into a Motif UIL icon file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>ppmtouil</B>
|
|
|
|
[<B>-name</B>
|
|
|
|
<I>uilname</I>]
|
|
|
|
[<I>ppmfile</I>]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Reads a portable pixmap as input.
|
|
Produces a Motif UIL icon file as output.
|
|
<A NAME="ixAAC"></A>
|
|
<A NAME="ixAAD"></A>
|
|
<A NAME="ixAAE"></A>
|
|
<P>
|
|
|
|
If the program was compiled with an rgb database specified, and
|
|
a RGB value from the ppm input 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 #RRRRGGGGBBBB
|
|
hexadecimal format.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-name</B>
|
|
|
|
<DD>
|
|
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
|
|
<B>-name</B>
|
|
|
|
is not specified and no ppmfile
|
|
is specified (i.e. piped input), the prefix string will default to
|
|
the string "noname".
|
|
</DL>
|
|
<P>
|
|
|
|
All flags can be abbreviated to their shortest unique prefix.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A>(5)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Converted by Jef Poskanzer from ppmtoxpm.c, which is
|
|
Copyright (C) 1990 by Mark W. Snitily
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="6"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="7"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:25 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|