AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2004.02.19 17:06 "How to write tile ?", by <dlpnet@free.fr>
2004.02.19 17:33 "Re: How to write tile ?", by Joris Van Damme
2004.02.20 10:24 "Re: How to write tile ?", by Valkanas Nikolaos
2004.02.20 11:09 "Re: How to write tile ?", by Andrey Kiselev

2004.02.19 17:06 "How to write tile ?", by <dlpnet@free.fr>

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