1Sunicontopnm User Manual(0) Sunicontopnm User Manual(0)
2
3
4
6 sunicontopnm - convert a Sun icon into a Netpbm image
7
8
9
11 sunicontopnm [iconfile]
12
13
14
16 This program is part of Netpbm(1).
17
18 sunicontopnm reads a Sun icon as input and produces a PBM or PGM image
19 as output.
20
21 If the input is of the Depth=8 variety, the output is PGM. Otherwise,
22 it is PBM. Before Netpbm 10.53 (December 2010), the program would not
23 work on a Depth=8 icon.
24
25 If the input is color, the output is still PGM (the program can't do
26 any better because developers haven't figured out how). If you know
27 the palette used by the Sun icon image, you can use pamlookup to con‐
28 vert the PGM output to the proper color Netpbm image.
29
30
31
33 It seems that this icon format was used in Sunview and were usable in
34 it successor Openlook/Openwindows in Sun 4.1.1, which offered backward
35 compatibilty for Sunview, including the icons. Sunview's desktop was
36 monochrome. OpenWindows had color icons. Sun 4 came with OpenWindows.
37 OpenWindows appears to have been an X-based gui so presumably the icons
38 were mostly XPM files.
39
40 So in addition to sunicontopnm, you should try xpmtoppm and xbmtopbm on
41 icons from a Sun Workstation.
42
43
44
46 pbmtoicon(1), winicontoppm(1), xpmtoppm(1), xbmtoppm(1), infotopam(1),
47 pbm(1) pbm(1)
48
49
51 Jef Poskanzer wrote the program under the name icontopbm in 1988.
52
53 In October 2010, Prophet Of The Way (afu@wta.att.ne.jp) converted it to
54 use the more recent 'packed PBM' library functions, thus speeding it up
55
56 Netpbm 10.53 (December 2010) renamed the program to sunicontopnm. This
57 name reflects the fact that there are lots of kinds of icons in the
58 world besides the Sun variety, Windows ones being most popular. It
59 also takes into account the new Depth=8 capability (see below).
60
61 Netpbm 10.53 (December 2010) added the ability to work with Depth=8
62 icon input and input with 32 bit 'items.' Whereas the previous program
63 always produced PBM output, the new program produced PGM in the Depth=8
64 case.
65
66
67
68netpbm documentation 23 October 2010 Sunicontopnm User Manual(0)