AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2005

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



Valid HTML 4.01!



Thread

2005.12.13 18:20 "read and write image with same TIFF handle", by Eugene Shebeko
2005.12.13 21:39 "Re: read and write image with same TIFF handle", by Andrey Kiselev
2005.12.13 21:55 "Re: read and write image with same TIFF handle", by Frank Warmerdam
2005.12.15 09:11 "Re: read and write image with same TIFF handle", by Eugene Shebeko
2005.12.29 23:18 "Re: read and write image with same TIFF handle", by Andrey Kiselev

2005.12.13 18:20 "read and write image with same TIFF handle", by Eugene Shebeko

1 question.
As I see, I cann't to read and write image data in one session, i.e.
using one TIFF handle.
The problem in codec's setup. There are only one flags in libtiff
TIFF_CODERSETUP that indicate that codec inited for decode, or code process
(tif->tif_setupdecode,tif->tif_setupencode)

First call TIFFReadTile() for example codec setup for decode.
Then later TIFFWriteTile() but TIFF_CODERSETUP still set and
tif->tif_setupencode never called.
As a result libtiff crash in codec.

Is it known problem?
Is in plans to fix it?
Is problem with codec is only one problem to read and write image
with same TIFF handle?

Actually I can to fix it itself.
It is not dificult replace TIFF_CODERSETUP with 2 flags
TIFF_CODERSETUP, TIFF_DECODERSETUP and to control in initialization
code that only one flag could be set.

2. question
When next version of libtiff are expected?
If I make some useful changes in libtiff may I expect that this
changes will be included in libtiff? And how can I do it?