AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.07.29 18:34 "[Tiff] So ... what about exporting TIFFDataSize?", by Tom Lane
2012.07.29 18:51 "Re: [Tiff] So ... what about exporting TIFFDataSize?", by Even Rouault
2012.07.29 19:17 "Re: [Tiff] So ... what about exporting TIFFDataSize?", by Bob Friesenhahn
2012.07.29 19:22 "Re: [Tiff] So ... what about exporting TIFFDataSize?", by Tom Lane
2012.07.29 19:22 "Re: [Tiff] So ... what about exporting TIFFDataSize?", by Tom Lane

2012.07.29 18:34 "[Tiff] So ... what about exporting TIFFDataSize?", by Tom Lane

Armed with the accessor functions for TIFFField, I went back for another try at building freeimage with libtiff 4.0, and found there's still a remaining problem: it tries to use _TIFFDataSize() which is no longer accessible from outside the library. Looking at this, it seems like we should export that function or something just like it, because the only alternative is for clients to have built-in knowledge that TIFF_RATIONAL is funny. I see that tiffset.c has effectively duplicated TIFFDataSize() in-line, which is surely even worse.

So, any objections to renaming this to TIFFDataSize() and exporting it? Has anyone got a better naming suggestion than that?

regards, tom lane