AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1999.07.15 23:47 "RGB Gradient Code, adapted from Andreas Neumann", by Eric B. Middlecamp
1999.07.16 06:23 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Niles Ritter
1999.07.16 16:08 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Eric B. Middlecamp
1999.07.16 16:17 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Daniel McCoy
1999.07.16 17:39 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Eric B. Middlecamp
1999.07.16 20:04 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Phillip Crews

1999.07.16 16:17 "Re: RGB Gradient Code, adapted from Andreas Neumann", by Daniel McCoy

Eric Middlecamp wrote:

I made a simple extension to Andreas Neumann's gradient code, (see http://www.gis.univie.ac.at/strv/strv/leute/andi/computer/graphics/raster-formats/example_tiff_main.html) but the output TIFF image has some odd contamination. Looking at the image, you wouldn't be able to tell -- however a histogram reveals that some levels are omitted and others are doubled.

Has anyone else experienced bizarre anomalies like this?

The code looks fine, and Niles was able to run it with no problem. But you don't say anything about what type of computer, operating system, compiler, image display program, how you produced the histogram or what version of libtiff you used in your message.

Dan McCoy    Pixar   mccoy@pixar.com