2008.03.29 04:18 "[Tiff] TIFFReadRawStrip buffer data type", by James Sumners

2008.03.29 04:18 "[Tiff] TIFFReadRawStrip buffer data type", by James Sumners

If I supply TIFFReadRawStrip() with a buffer of type int, and read a grayscale image, I assume that each position in the buffer would be a value between 0 and 255, right? If so, then I'm a little confused about the debug output of my program[1]. It seems to be reading a ten digit integer for each position in the buffer. Am I doing something wrong?

[1] -- http://student.claytonstate.net/~jsumners/wavelet.zip (source code)

--
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59