Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!cs.umn.edu!uc!uh.msc.edu!wes From: wes@uh.msc.edu (Wes Barris) Newsgroups: comp.graphics Subject: Re: rlequant problems Message-ID: <4310@uc.msc.umn.edu> Date: 19 Jun 91 17:53:18 GMT References: <9199@ucdavis.ucdavis.edu> Sender: news@uc.msc.umn.edu Reply-To: wes@msc.edu Organization: Minnesota Supercomputer Center Lines: 32 In article <9199@ucdavis.ucdavis.edu>, hardaker@irisUCDavis.EDU (Wes Hardaker) writes: > > Akkk... I'm tired of playing. Ok.. This is what I want, if someone would tell me what really stupid error I am making, I would be greatly appriciative. > > I have a rle file that I quantize with rlequant -c -o . > > The output file is a color map (only, no image). Now... I want to take that color map and load it into the original image, thus making a quantized image (and thereby reducing the size of the image). Why can't I get rleldmap to give me anything but a pi> cture with the colors all screwed up? (using rleldmap -r -o ) > Hmmm, another Wes. Why not just use "rlequant 24bit-file -o 8bit-file"? This will create the proper color map and put it in the header of the resulting 8 bit image file. In your example, I am assuming that the "original image" is a 24 bit file. I doubt that you want to add the color map generated by rlequant to this 24 bit image. o o o o o o o . . . ________________________________ _____=======_T___ o _____ ||Wes Barris | | wes@msc.edu | .][__n_n_|DD[ ====_____ |Minnesota Supercomputer Center| |(612) 626-8090 | >(________|__|_[_________]_|University of Minnesota_______|_|_FAX: 626-1596_|_ _/oo OOOOO oo` ooo ooo 'o^o^o o^o^o` 'o^o o^o` -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- The spam in plan falls mainly in the can.