Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!convex!eugene!swarren From: swarren@eugene.uucp (Steve Warren) Newsgroups: comp.sys.amiga Subject: Re: RGB to HAM IFF Message-ID: <1976@convex.UUCP> Date: 6 Oct 89 16:24:17 GMT References: <495@nigel.udel.EDU> <333@amgraf.UUCP> Sender: news@convex.UUCP Reply-To: swarren@eugene.UUCP (Steve Warren) Organization: Convex Computer Corporation, Richardson, Tx. Lines: 33 In article <333@amgraf.UUCP> huver@amgraf.UUCP (Huver) writes: >In article <495@nigel.udel.EDU>, webb@udel.edu (David Webb) forwarded comment >from Fred Mitchell (mitchell@cbmvax.uucp) on converting RGB bitmap to HAM: [...bitplane reduction, 16-color palette picking stuff deleted] >But the original question was: >>> Has anyone worked out a method of converting RGBs to HAM. I have >>> three B/W images (8 bits/pixel), and I would like to covert them >>> to a HAM image. If somebody could show me the way I would not writing >>> the C-code and making it public... ... >For original poster's benefit: HAM is for color, not B/W, display. Its only >purpose in life is to let you show 4096 colors, not 4096 gray levels, from a >16-entry color palette. Well, I think he meant that he has three grey-scales of the image, one each for the red, green, and blue planes, and he wants to combine them into a single ham image. I never used it myself, but it seems like the digiview digitizer came with some software that does that (it uses a filter to digitize the image in three passes). Hope this helps. Regards, --Steve ------------------------------------------------------------------------- {uunet,sun}!convex!swarren; swarren@convex.COM