Message-ID: <3A7DAC30.6060603@operamail.com> From: Sahab Yazdani Organization: PheonixSoft Interactive User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20010127 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: downsampling an image Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 15 Date: Sun, 04 Feb 2001 14:23:28 -0500 NNTP-Posting-Host: 149.99.126.28 X-Complaints-To: abuse AT sprint DOT ca X-Trace: newscontent-01.sprint.ca 981314886 149.99.126.28 (Sun, 04 Feb 2001 14:28:06 EST) NNTP-Posting-Date: Sun, 04 Feb 2001 14:28:06 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com hi i'm wondering, how would I go about downsampling an image from 24 or 16 bits per pixel to 8 bits per pixel. I don't mean in Allegro, I mean as a general algorithym for it. Is there is a web-site that shows how to do this?? I want to actually understand what the code is doing, and not just cut and paste into my own programs. anyways any help is greatly appreciated.... -- *********************************************************** * Sahab Yazdani * "Wizard's Third Rule: Passion rules * * Thornhill S.S * Reason" - Kolo's Journal * *********************************************************** * http://pheonixsoft.virtualave.net/ * ***********************************************************