
Thread
2004.02.20 10:24 "RE: [Tiff] How to write tile ?", by Valkanas Nikolaos
Sorry for buddying in,
but is ibm supporting libtiff?
- The docs.
- http://www.ibm.com/developerworks/linux/library/l-libtiff/
- http://www-106.ibm.com/developerworks/linux/library/l-libtiff2/
Thanks,
Nikos Balkanas
System Architect,
Tellas S.A.,
1A Neapoleos Street Maroussi, Greece.
Direct Phone: +(30) 210 8113 598
Fax: +(30) 210 8113 458
e-mail: nikolaos.valkanas@mail.tellas.gr
Subject: Re: [Tiff] How to write tile?
> 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/