2002.02.12 08:04 "Palette-color Images", by Prasanth Pooyath

I have an 8 bit / 256 color RGB bitmap. I am using the libtiff library to save this bitmap into a tiff file. Can somone tell me how to make a palette color tiff image using libtiff library. How do I set the colormap field?