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 There are no command line options defined specifically for sunicon‐
34 topnm, but it recognizes the options common to all programs based on
35 libnetpbm (See
36 Common Options ⟨index.html#commonoptions⟩ .)
37
38
40 It seems that this icon format was used in Sunview and was usable in
41 its successor Openlook/Openwindows in Sun 4.1.1, which offered backward
42 compatibility for Sunview, including the icons. Sunview's desktop was
43 monochrome. OpenWindows had color icons. Sun 4 came with OpenWindows.
44 OpenWindows appears to have been an X-based gui so presumably the icons
45 were mostly XPM files.
46
47 So in addition to sunicontopnm, you should try xpmtoppm and xbmtopbm on
48 icons from a Sun Workstation.
49
50
51
53 pbmtosunicon(1), winicontoppm(1), xpmtoppm(1), xbmtopbm(1), info‐
54 topam(1), pbm(1) pgm(1)
55
56
58 Jef Poskanzer wrote the program under the name icontopbm in 1988.
59
60 In October 2010, Prophet Of The Way (afu@wta.att.ne.jp) converted it to
61 use the more recent "packed PBM" library functions, thus speeding it up
62
63 Netpbm 10.53 (December 2010) renamed the program to sunicontopnm. This
64 name reflects the fact that there are lots of kinds of icons in the
65 world besides the Sun variety, Windows ones being most popular. It
66 also takes into account the new Depth=8 capability (see below).
67
68 Netpbm 10.53 (December 2010) added the ability to work with Depth=8
69 icon input and input with 32 bit "items." Whereas the previous program
70 always produced PBM output, the new program produced PGM in the Depth=8
71 case.
72
74 This manual page was generated by the Netpbm tool 'makeman' from HTML
75 source. The master documentation is at
76
77 http://netpbm.sourceforge.net/doc/sunicontopnm.html
78
79netpbm documentation 23 October 2010 Sunicontopnm User Manual(0)