2007.12.08 20:39 "[Tiff] another rookie question", by Ron Croonenberg

Hello all,

I don't know that much about using libtiff, just about enough to create an image from some simulation data.

What I basically do is use two nested loops to create a tiff file, and that seems to work well enough for me.

What I am looking for is if there is some simple algorithm/routine to read a tiff file with so that I basically can look up the color of a pixel. (Basically I want to build a '2D matrix' in C that I want to fill with RGB vallues from the corresponding pixels in that image.)