2002.06.19 11:37 "TIFF with greater than 256 colors", by Jeffrey Parker

I've been successfully writing TIFFs with less than 256 colors using the palette image mode.

Now I need to use more than 256 colors and I'm trying to use the RGB mode but can't seem to get it right. I've read the TIFF spec about the changes from Palette-color images to RGB Full Color Images but am not sure what I send as the body of the image. I'm trying to WriteScanline a row of RGB values as unsigned shorts.

Can anyone steer me to an example of writing images in RGB with more than 256 colors? I've checked the files from the TAR file.