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

> 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 ??

- The docs.
- http://www.ibm.com/developerworks/linux/library/l-libtiff/
- http://www-106.ibm.com/developerworks/linux/library/l-libtiff2/



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