home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!bagate!dsinc!cs.widener.edu!eff!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!news.ecn.bgu.edu!garrot.DMI.USherb.CA!vailm00
- From: vailm00@DMI.USherb.CA (MARC VAILLANCOURT)
- Newsgroups: comp.sys.amiga.graphics
- Subject: Re: 16 Color Icons - Wb3.0
- Message-ID: <C1JnoG.1HK@DMI.USherb.CA>
- Date: 28 Jan 93 03:14:39 GMT
- References: <1993Jan26.140949.727@samba.oit.unc.edu> <1993Jan26.142412.1311@samba.oit.unc.edu> <1993Jan27.213318.28628@microsoft.com>
- Sender: usenet@DMI.USherb.CA (Pour courrier Usenet)
- Organization: Universite de Sherbrooke -- Dept. d'Informatique
- Lines: 21
- Nntp-Posting-Host: tohi
-
- -> Ahh, I see now. The only reason you can edit 8 of the colors is
- -> becuase Workbench itself can use only eight. Icons, which are just
- -> bitmaps can have as many colors as you want and the OS will try to
- -> pick the right ones. You need a decent icon editor that can handle
- -> more than just the 8 colors supported by the Workbench icon editor.
-
- Icons are bitmaps, but those bitmaps have NO palette of their own! That's
- why WB 3.0 can't cope well with 16 color icons, because you can't set more
- than 8 colors by yourself. When the WB loads those icons, the 8 first colors
- of the WB will be assigned "correctly" to the icons, but the 8 last colors
- will be anything that is currently set in those unused color registers.
- To be clear, your 16 colors icons will look like shit. :-(
-
- However, somebody made an interesting remark in another newsgroup two
- days ago.. He suggested that C= should also store a palette within each
- icon files. So when the system would load an icon, it would do a
- BestColorFit() (or whatever this function is named in OS 3.0) to get the
- best colors possible out of the 8 you have already set, and allocate the
- other needed colors on demand.
-
- Marc
-