2008.02.26 23:18 "[Tiff] how to write black and white tiff images?", by Anirudh Rudraraju

hi,
    I am new to using libtiff library. I want to know a way of writing black
and white tiff images using the libtiff library.

I deal with really massive tiff images and I have a program that can return me the value at each pixel (1 for white and 0 for black). But since the tiff image is massive, i cannot store that data in an array as it overflows. I intend to store this data (pixel values) in a file and then use this file to generate a tiff image.Also i would like to write these tiff images in tile format with a tile size of 1024*768 pixels.

Kindly, let me know how i can do this.

Thanks,
Anirudh.