I want to create simple grayscale, non-compressed TIFF file in C. I have taken code for RGB sample from http://paulbourke.net/dataformats/tiff/. It works great.
Howev