| 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 |
Thread2004.05.11 19:02 "Re: libitff", by Andrey KiselevOn Mon, May 10, 2004 at 06:59:25AM -0400, Kabongo, Kalonji (DET) wrote: > I am trying to use libtiff and add a tag. Can somebody explain to me > the field_oktochange and field_passcount in the TIFFFieldInfo > structure. What are they used for ? Would appreciate an answer ASAP. Some tags has influence on how the image should be written (for example, it is TileWidth and TileLength parameters), some other tags has nothing to do with image (such as Artist or Copyright records). The first type of tags should not be altered once written and has FALSE in field_oktochange. The second type can be changed in any time, we set TRUE in field_oktochange for them. field_passcount defines the need to pass the number of data values in the buffer. If it is TRUE such a tag should be set using call TIFFSetField(tiff, tag, count, data_array); where 'data_array' has 'count' values. It is used for tags when we don't know how much data items they will contain in advance. Andrey -- Andrey V. Kiselev Home phone: +7 812 5274898 ICQ# 26871517 |
|||||||