2002.10.17 08:51 "Pixel By Pixel with LibTiff", by Stephan Schmidt

Hello everybody,

i am wanna read a large 1 bit tiff-file. My problem is to read the file with tiffopen an then get the data with TIFFReadRGBAImage in a raster. Now i can get with TIFFGetR/TIFFGetG/TIFFGetB/TIFFGetA one pixel, but how to set a Pixel?

Second Problem:

The _tiffmalloc for the raster (where TIFFReadRGBAImage sets the date) fails because of not enought memory. Is there a way to read a tiff-file and get the value of one specific pixel in the bitmap and set the value of one specific pixel in a bitmap?