Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!crackers!m2c!wpi.WPI.EDU!gregs From: gregs@wpi.WPI.EDU (Floppy) Newsgroups: comp.graphics Subject: Gamma Message-ID: <1991Apr21.185211.29293@wpi.WPI.EDU> Date: 21 Apr 91 18:52:11 GMT Organization: Worcester Polytechnic Institute Lines: 16 I am writing a graphics program in C and one of the routines has to apply the gamma function to do some lightening. The program is in C on an IBM PC under Dos 4.01. The function has to be applied to GIFs, preferably, but PCX might be liveable too. I really only want to lighten a GIF, and I don't know whether gamma is overkill or not. The GIFs are going to be 16 color (or grayscale), but may become 256 color or grayscale if the program gets bigger. Any source code or pointers would be greatly appreciated; I've already checked the common FTP sites, and can't find any source code. Thanks in advance. +-------+ Greg Snyder alias Floppy alias Brocolli Man IS gregs@wpi.wpi.edu | [ [Witty quote ommitted until further notice] *:^) | O | | | ` | Worcester Polytechnic Institute, Worcester MA +-------+ --------------------------------------------------------------