2004.12.12 10:44 "[Tiff] Question about colormap", by Artem Y. Pervin

2004.12.23 10:22 "Re[2]: [Tiff] Question about colormap", by Artem Y. Pervin

You can find the sample code attached (this utility creates gray colored TIFF, but it has color map). Note, that TIFF palettes contain more than 256 colors.

Thanks! That helped to solve my problem. One more question. Would that be correct to _TIFFfree red_tbl, green_tbl, blue_tbl directly after assigning color table with TIFFSetField(TIFF_PTR, TIFFTAG_COLORMAP, red_tbl, green_tbl, blue_tbl)?

Best regards,
Pervin Artem