Article View: comp.sys.sun
Article #9346Huge icons on Sun
From: Root Boy Jim
Date: Fri, 02 Dec 1988 06:40
Date: Fri, 02 Dec 1988 06:40
18 lines
1425 bytes
1425 bytes
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>
Technical Details
Message-ID:
<8811181800.AA00461@nav.icst.nbs.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mit-eddie!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!mit-eddie!uw-beaver!rice!sun-spots-request From: rbj@nav.icst.nbs.gov (Root Boy Jim) Newsgroups: comp.sys.sun Subject: Huge icons on Sun Message-ID: <8811181800.AA00461@nav.icst.nbs.gov> Date: 2 Dec 88 06:40:36 GMT Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 18 Approved: Sun-Spots@rice.edu Original-Date: Fri, 18 Nov 88 13:00:44 EST X-Sun-Spots-Digest: Volume 7, Issue 32, message 14 of 17