1999.07.16 16:08 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Eric B. Middlecamp
Has anyone else experienced bizarre anomalies like this?
I just ran your little routine, and got a perfect 0-255 vertical gradient. Are you sure your monitor is on true 24-bit color and not 16-bit or 8-bit? Try running "tiffinfo -d" on your image to look at the values.
My monitor depth is set to millions of colors. Note that the results I get _look_ correct, but I found anomalies when I used Photoshop to display the histogram. Note that I am running on a Mac, so the problems might be system-dependent.
I'll try using tiffinfo-