| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.12.13 18:20 "read and write image with same TIFF handle", by Eugene Shebeko1 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? |
|||||||