2004.12.24 01:29 "[Tiff] negative values written in a "uint", 16-bit mode tiff", by S Smith

2005.01.15 17:22 "Re: [Tiff] negative values written in a "uint", 16-bit mode tiff", by Andrey Kiselev

I want to write a greyscale TIFF with 16 bits per pixel. My code is below. The pixels should be labeled 0-65535, but at halfway through the image, they turn negative and count back down towards zero. I've set the image to be uint, 16 bit. What am I missing here? Thanks in advance! -s

Why do you think that they are negative? What code/tool do you use to read the file back?

Andrey

Andrey V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517