TIFF and LibTiff Mail List Archive


2003.09.30 14:38 "[Tiff] how can i show the different TIFF tile image on the computer screen?", by Zuyuan Wang
2003.10.31 00:45 "ask for suggestions....", by
2003.10.31 00:51 "Re: ask for suggestions....", by
2003.10.31 10:41 "[Tiff] Re: ask for suggestions....", by Zuyuan Wang

2003.10.31 00:51 "Re: ask for suggestions....", by

Dear All,

I am dealing with the very huge TIFF tiled image. What I want to do now is first read the different tile image by ' TIFFReadTile' into a buffer, then I want to save it as a new TIFF image again. I used the ' TIFFWriteScanline', but the writen file can't be opened. I have the following questions:

  1. how can I read the data out from the tile data? Should I use ' TIFFGetR', 'TIFFGetG' and 'TIFFGetB'?
  2. when I get the data, how can i write them into the file? Waiting for your kind suggestions!


tiff-admin is the wrong email address. You should email

The brief answers are:

  1. You will need to extract the data from the tile buffer returned by TIFFReadTile() manually based on the various data organization indicators in other tags, like planar configuration, number of samples, and bits per sample.
  2. I don't know why the file writtenwith TIFFWriteScanline() cannot be opened. You would need to supply more information. A "tiffinfo" and "tiffdump"
  3. report on the output file may be helpful.

Best regards,


I set the clouds in motion - turn up   | Frank Warmerdam,
light and sound - activate the windows |
and watch the world go round - Rush    | Geospatial Programmer for Rent

Editor's note: This mail was not originally archived, and has been reconstructed from quotes.