2012.07.26 02:50 "[Tiff] Confused about 4.0 API changes: TIFFField vs TIFFFieldInfo", by Tom Lane

2012.07.26 03:12 "Re: [Tiff] Confused about 4.0 API changes: TIFFField vs TIFFFieldInfo", by Bob Friesenhahn

On Wed, 25 Jul 2012, Tom Lane wrote:

What the freeimage source code is doing with the TIFFFieldInfo stuff is determining the tag data type and the number of values, so that it can figure out how to call TIFFGetField to copy the data, without needing bespoke code for every possible tag. I suppose I could replace that with hard-wired code for each tag they care about, but that surely does not seem like an improvement.

Can anyone explain to me how to do this with the 4.0 API? If it's not possible, isn't that a rather serious functionality regression?

I did not make this change and don't see how to achieve the function with the current interface. It is likely that these structures were hidden because they are internal implementation structures which should not be frozen in an ABI. New accessor functions can be added to query whatever useful information is available/necessary via this handle.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/