[comp.sys.sun] Huge icons on Sun

chuck@trantor.harris-atd.com (Chuck Musciano) (11/23/88)

[ John Jung wonders how the desktop background was changed to a big picture ]

Suntools just takes whatever image you specify and repeats it until the
screen is filled.  That's why you see two big copies and some chopped off
copies.  There is no magic, suntools just copies the bitmap into the
pixwin which is the desktop.

> Is there anyway to transfer the icon to a normal micro-computer format
> (like .MAC)?

There are a variety of bitmap conversion tools in the public domain.  Of
course, I never understand why people want to move things from real
computers to little bitty, single tasking, single user, tiny screened,
reduced memory, insufficiently disked, tapeless toys :-)

Chuck Musciano
Advanced Technology Department
Harris Corporation
(407) 727-6131
ARPA: chuck@trantor.harris-atd.com

rbj@nav.icst.nbs.gov (Root Boy Jim) (12/02/88)

My favorite technique is to glom icons together with emacs. Here is a
brief explanation of what you must do. The standard 64x64 icon seems to be
formatted as 32 lines of 8 16 bit numbers. Each line will create two scan
lines of the icon. First, take your four favorite icons and reformat them
to form 64 lines of 4 16 bit numbers. This changes nothing, but now each
line produces only one scan line of the icon. Strip the headers off each
one. I am going to call the {upper,lower}{left,right} icons UL, UR, LL,
and LR. Now 'cat UL LL > LEFT; cat UR LR > RIGHT'.  Then 'pr -m LEFT RIGHT
> WHOLE', or use emacs' yank-rectangle. Finally, fix up any missing
commas, and prepend this header line:

/* Format_version=1, Width=128, Height=128, Depth=1, Valid_bits_per_item=16
 */

It is left as an exercise how to create 3x3, 4x4, etc., icons.

	(Root Boy) Jim Cottrell	(301) 975-5688
	<rbj@nav.icst.nbs.gov> or <rbj@icst-cmr.arpa>