| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 |
<html><head><title>Sunicontopnm User Manual</title></head> |
| 3 |
<body> |
| 4 |
<h1>sunicontopnm</h1> |
| 5 |
Updated: 23 October 2010 |
| 6 |
<br> |
| 7 |
<a href="#index">Table Of Contents</a> |
| 8 |
|
| 9 |
<h2>NAME</h2> |
| 10 |
sunicontopnm - convert a Sun icon into a Netpbm image |
| 11 |
|
| 12 |
|
| 13 |
<h2 id="synopsis">SYNOPSIS</h2> |
| 14 |
|
| 15 |
<b>sunicontopnm</b> |
| 16 |
[<i>iconfile</i>] |
| 17 |
|
| 18 |
|
| 19 |
<h2 id="description">DESCRIPTION</h2> |
| 20 |
|
| 21 |
<p>This program is part of <a href="index.html">Netpbm</a>. |
| 22 |
|
| 23 |
<p><b>sunicontopnm</b> reads a Sun icon as input and produces a PBM or PGM |
| 24 |
image as output. |
| 25 |
|
| 26 |
<p>If the input is of the Depth=8 variety, the output is PGM. Otherwise, |
| 27 |
it is PBM. Before Netpbm 10.53 (December 2010), the program would not work |
| 28 |
on a Depth=8 icon. |
| 29 |
|
| 30 |
<p>If the input is color, the output is still PGM (the program can't do |
| 31 |
any better because developers haven't figured out how). If you know the |
| 32 |
palette used by the Sun icon image, you can use <b>pamlookup</b> to |
| 33 |
convert the PGM output to the proper color Netpbm image. |
| 34 |
|
| 35 |
|
| 36 |
<h2 id="options">OPTIONS</h2> |
| 37 |
|
| 38 |
<p>There are no command line options defined specifically |
| 39 |
for <b>sunicontopnm</b>, but it recognizes the options common to all |
| 40 |
programs based on libnetpbm (See <a href="index.html#commonoptions"> |
| 41 |
Common Options</a>.) |
| 42 |
|
| 43 |
<h2 id="sunicons">ABOUT SUN ICONS</h2> |
| 44 |
|
| 45 |
<p>It seems that this icon format was used in Sunview and was usable in its |
| 46 |
successor Openlook/Openwindows in Sun 4.1.1, which offered backward |
| 47 |
compatibility for Sunview, including the icons. Sunview's desktop was |
| 48 |
monochrome. OpenWindows had color icons. Sun 4 came with OpenWindows. |
| 49 |
OpenWindows appears to have been an X-based gui so presumably the icons were |
| 50 |
mostly XPM files. |
| 51 |
|
| 52 |
<p>So in addition to <b>sunicontopnm</b>, you should try <b>xpmtoppm</b> and |
| 53 |
<b>xbmtopbm</b> on icons from a Sun Workstation. |
| 54 |
|
| 55 |
|
| 56 |
<h2 id="seealso">SEE ALSO</h2> |
| 57 |
|
| 58 |
<a href="pbmtosunicon.html">pbmtosunicon</a>, |
| 59 |
<a href="winicontoppm.html">winicontoppm</a>, |
| 60 |
<a href="xpmtoppm.html">xpmtoppm</a>, |
| 61 |
<a href="xbmtopbm.html">xbmtopbm</a>, |
| 62 |
<a href="infotopam.html">infotopam</a>, |
| 63 |
<a href="pbm.html">pbm</a> |
| 64 |
<a href="pgm.html">pgm</a> |
| 65 |
|
| 66 |
<h2 id="history">HISTORY</h2> |
| 67 |
|
| 68 |
<p>Jef Poskanzer wrote the program under the name <b>icontopbm</b> in 1988. |
| 69 |
|
| 70 |
<p>In October 2010, Prophet Of The Way ([email protected]) converted it to use |
| 71 |
the more recent "packed PBM" library functions, thus speeding it up |
| 72 |
|
| 73 |
<p>Netpbm 10.53 (December 2010) renamed the program to <b>sunicontopnm</b>. |
| 74 |
This name reflects the fact that there are lots of kinds of icons in the world |
| 75 |
besides the Sun variety, Windows ones being most popular. It also takes |
| 76 |
into account the new Depth=8 capability (see below). |
| 77 |
|
| 78 |
<p>Netpbm 10.53 (December 2010) added the ability to work with Depth=8 |
| 79 |
icon input and input with 32 bit "items." Whereas the previous |
| 80 |
program always produced PBM output, the new program produced PGM in the |
| 81 |
Depth=8 case. |
| 82 |
|
| 83 |
<hr> |
| 84 |
<h2 id="index">Table Of Contents</h2> |
| 85 |
<ul> |
| 86 |
<li><a href="#synopsis">SYNOPSIS</a> |
| 87 |
<li><a href="#description">DESCRIPTION</a> |
| 88 |
<li><a href="#options">OPTIONS</a> |
| 89 |
<li><a href="#sunicons">ABOUT SUN ICONS</a> |
| 90 |
<li><a href="#seealso">SEE ALSO</a> |
| 91 |
<li><a href="#history">HISTORY</a> |
| 92 |
</ul> |
| 93 |
</body> |
| 94 |
</html> |
| 95 |
|