Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!sun-barr!cs.utexas.edu!swrinde!kent From: kent@swrinde.nde.swri.edu (Kent D. Polk) Newsgroups: comp.sys.amiga Subject: Re: Need Defn. of IFF standard Message-ID: <17408@swrinde.nde.swri.edu> Date: 13 Jun 89 22:17:54 GMT References: Reply-To: kent@swrinde.UUCP (Kent D. Polk) Organization: Southwest Research Institute, San Antonio, Texas Lines: 29 In article ak10+@andrew.cmu.edu (Andrew Joseph Kompanek) writes: >I'd like to convert raw 8-bit image data ( that I've captured with hardware [ to IFF]... Speaking of raw 8-bit data, is there a faster method of displaying 8-bit data than something like: for (y... { for (x... { SetAPen (rp, (int) (buffer_val >> 4)); WritePixel (rp, x, y); } } I have the 8-bit info in a buffer & need to perform user-specified color scale changes. Just changing the palette is way too coarse. I currently filter the SetApen color from bufferval to reflect the change while I'm WritePixeling the whole thing back out. Terribly slow, but I don't see another way to do it yet. The data is output from a reflective synthetic aperture program I wrote on a Sun. >I'd appreciate any responses. Me too. Thanks, Kent Polk