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:33 "Re: [Tiff] How to write tile ?", by Joris

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);

}

The logic is incorrect. You need to first open the TIFF, next write *all* tiles, and next close the TIFF. That doesn't exclude the possibility of working with one tile at the time. The particular writing function/level you use doesn't change the open/initialize/write/close sequence.

any help or ideas or URL??

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be