AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.02.19 16:52 "[Tiff] jpeg62.dll", by
2004.02.19 17:34 "Re: [Tiff] jpeg62.dll", by Joris
2004.02.20 10:24 "RE: [Tiff] How to write tile ?", by Valkanas Nikolaos
2004.02.19 17:06 "[Tiff] How to write tile ?", by Dlpnet
2004.02.19 17:33 "Re: [Tiff] How to write tile ?", by Joris
2004.02.20 11:09 "Re: [Tiff] How to write tile ?", by Andrey Kiselev

2004.02.19 17:06 "[Tiff] How to write tile ?", by Dlpnet

Hello,

I would like to write a TIFF image tile by tile (because I m processing the image tile by tile in order to save memory) so reading the TIFF specs, I found the TIFFWriteTile function. I tried to use it but with no success, does anyone have an example on how to use it? Do I need to create the file before? (I mean the complete file size)

In pseudo code I would like to do that:

WriteTile(myImageTile, x, y)

{

myTiffFile = openTiff("w"); // for the first Tile, the others are opened with "a"?

TIFFWriteTile(myTiffFile, myImageTile, x, y, 0, 0);

closeTiff(myTiffFile);

}

any help or ideas or URL??

Many thanks,

Dlp