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
May 2000

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

2000.05.29 13:10 "TIFF tag > 64 KB ?", by Ariel Ben-Porath
2000.05.29 13:12 "TIFF tag > 64 KB ? Correction", by Ariel Ben-Porath
2000.06.08 15:47 "Re: TIFF tag > 64 KB ? Correction", by Gerben Vos

2000.06.08 15:47 "Re: TIFF tag > 64 KB ? Correction", by Gerben Vos

> We would like to save a TIFF tag whose size is greater then 64 KB.

Ariel,

we have just hit on the same problem here. Although we are now
implementing a workaround that reduces the amount of data (so we don't
have to change LibTIFF), it seems to me that this should be fixed
anyway.

If you already know of a fix for this, I'd like to know about it.

From a first investigation, it seems you could get away with changing
u_short to uint32 throughout TIFFWriteNormalTag() in tif_dirwrite.c
(and maybe also changing field_readcount and field_writecount to
int32 in tif_dir.h), but I'm not so sure about all those calls to
TIFFSetField and TIFFGetField (and through tif_vsetfield and
tif_vgetfield) that take a count parameter, which is now uint16.

Cheers,
					Gerben Vos.